Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
batmen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
mael
batmen
Commits
464f8f06
Commit
464f8f06
authored
1 year ago
by
Maël Madon
Browse files
Options
Downloads
Patches
Plain Diff
doc: complete @brief @details for ReplayUsers
parent
e2abcd6d
No related branches found
No related tags found
1 merge request
!21
issue17,18,21_new
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/users/user_replay.hpp
+25
-10
25 additions, 10 deletions
src/users/user_replay.hpp
with
25 additions
and
10 deletions
src/users/user_replay.hpp
+
25
−
10
View file @
464f8f06
...
...
@@ -19,6 +19,9 @@ struct DMWindow
bool
date_in_dm_window
(
double
date
);
};
/**
* @brief Virtual class for users using a trace as input for submission.
*/
class
ReplayUser
:
public
User
{
public:
...
...
@@ -46,7 +49,7 @@ protected:
public:
long
dm_stat
[
14
]
=
{
0
};
protected
:
std
::
string
input_json
;
UserSubmitQueue
*
original_trace
;
...
...
@@ -58,7 +61,7 @@ protected:
};
/**
* @brief The user follows
an
input trace in a rigid fashion: she submits tasks
* @brief The user follows
the
input trace in a rigid fashion: she submits tasks
* of same size and at the same submission time as in the original trace.
*/
class
ReplayUserRigid
:
public
ReplayUser
...
...
@@ -79,8 +82,12 @@ protected:
*********************** Users "demand response" ******************************
*****************************************************************************/
/**
* @brief
* @details
* @brief The user follows the input trace in a rigid fashion, except in the
* demand response window where she reconfigures the submitted jobs.
* @details The reconfiguration consists in dividing the number of cores
* requested by two (rounded up) and scale the execution time accordingly,
* following the speedup model. Note: if the original number of cores requested
* was 1, reconfig is equivalent to rigid, and will appear as such in the logs.
*/
class
DMUserReconfig
:
virtual
public
ReplayUser
{
...
...
@@ -98,8 +105,12 @@ protected:
};
/**
* @brief
* @details
* @brief The user follows the input trace in a rigid fashion, except in the
* demand response window where she degrades the submitted jobs.
* @details The degradation consists in dividing the number of cores requested
* by two (rounded up), keeping the original submission time. Note: if the
* original number of cores requested was 1, degrad is equivalent to rigid, and
* will appear as such in the logs.
*/
class
DMUserDegrad
:
virtual
public
ReplayUser
{
...
...
@@ -116,8 +127,10 @@ protected:
};
/**
* @brief
* @details
* @brief The user follows the input trace in a rigid fashion, except in the
* demand response window where she renounces the jobs.
* @details Renouncing consists in simply not submitting the job (and never
* submit it in the future).
*/
class
DMUserRenonce
:
virtual
public
ReplayUser
{
...
...
@@ -134,8 +147,10 @@ protected:
};
/**
* @brief
* @details
* @brief The user follows the input trace in a rigid fashion, except in the
* demand response window where she delays the submitted jobs.
* @details Delaying consists in not submitting the job straight away but at the
* end of the demand response window.
*/
class
DMUserDelay
:
virtual
public
ReplayUser
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment