Skip to content
Snippets Groups Projects
Commit d582caef authored by Maël Madon's avatar Maël Madon
Browse files

doc: fix typos

parent 222d7cd7
Branches
Tags v3.1
No related merge requests found
Pipeline #7100 passed
# Batmen
Batmen is a plugin to the scientific simulator [Batsim]. It allows to simulate users of large-scale distributed systems. Batmen is originally a fork of [batsched].
Batmen is a plugin to the scientific simulator [Batsim]. It allows simulating users of large-scale distributed systems. Batmen is originally a fork of [batsched].
## How does it work?
......@@ -13,7 +13,7 @@ A simulation with [Batsim] consists of two processes:
In Batmen, we added a layer: **the simulation of users**.
### User simulation
The interaction with users happens through a "broker". The broker manages a pool of simulated users and dynamically register new jobs to sumbit. These jobs come on top of the input workload read by Batsim.
The interaction with users happens through a "broker". The broker manages a pool of simulated users and dynamically register new jobs to submit. These jobs come on top of the input workload read by Batsim.
Implementation, in the folder `src/users`:
- class `Broker`: implement the broker, submitting the jobs on behalf of the users
......@@ -22,9 +22,9 @@ Implementation, in the folder `src/users`:
### Types of user
For now, we have developped three types of users.
For now, we have developed three types of users.
- *modelled users* (class `User`): using a model to generate the jobs to submit
- *modeled users* (class `User`): using a model to generate the jobs to submit
- *replay users* (class `ReplayUser`): replaying a workload trace given as input
- *feedback users* (class `FeedbackUser`): taking feedback on the status of previous jobs into account when submitting the next one
......
......@@ -20,7 +20,7 @@ public:
/**
* @brief Returns the date (in seconds, rounded to the nearest) of the next
* submission by the cloud broker.
* submission by the broker.
* @details Two numbers are used as flags:
* DATE_NEVER = -1 if the broker has finished to submit.
* DATE_UNKNOWN = -2 if the broker doesn't have a next submission date
......@@ -39,7 +39,7 @@ public:
double date, list<Job> &jobs, list<const Profile *> &profiles);
/**
* @brief Ackowledge the latest execution-related activity and forward the
* @brief Acknowledge the latest execution-related activity and forward the
* info to interested users.
*/
void feedback_job_status(double date, vector<string> &jobs_ended,
......
......@@ -6,7 +6,7 @@
/**
* A scheduler inheriting from this class will handle dynamic jobs submitted
* by the cloud broker, if any.
* by the broker, if any.
* To do so, it asks the broker for the next submission date and uses batsim
* REQUESTED_CALL to come back to the broker when it has something to submit.
*/
......
......@@ -70,7 +70,7 @@ private:
* @brief A user that thinks after the terminaison of her previous job before
* submitting a new one.
* @details When the job previously submitted finishes, the user is awaken by
* the cloud broker. She waits for some time (the `think_time`) before
* the broker. She waits for some time (the `think_time`) before
* submitting the next one.
*/
class ThinkTimeUser : public User
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment