@@ -850,7 +850,7 @@ bool CLIENT_STATE::swap_limit_check() {
850850 if (swap_usage > swap_limit) {
851851 if (log_flags.cpu_sched_debug ) {
852852 msg_printf (NULL , MSG_INFO ,
853- " [cpu_sched_debug] virtual size limit exceeded: %.2f GB > %.2f GB" ,
853+ " [cpu_sched_debug] swap usage limit exceeded: %.2f GB > %.2f GB" ,
854854 swap_usage/GIGA , swap_limit/GIGA
855855 );
856856 }
@@ -1494,18 +1494,18 @@ bool CLIENT_STATE::enforce_run_list(vector<RESULT*>& run_list) {
14941494 }
14951495 }
14961496
1497- // skip jobs whose 'expected working set size' (EWSS )
1498- // is too large to fit in available RAM,
1499- // or whose swap size is too large for available swap space.
1497+ // skip jobs whose 'expected resident set size' (erss )
1498+ // exceeds available RAM,
1499+ // or whose swap usage exceeds available swap space.
15001500 //
1501- // To compute EWSS , we start with
1502- // - if the job has already run, its recent average WSS
1501+ // To compute erss , we start with
1502+ // - if the job has already run, its recent average RSS
15031503 // - else if other jobs of this app version have run recently,
1504- // the max of their WSSs
1504+ // the max of their RSSs
15051505 // - else the WU's rsc_memory_bound
15061506 // If project->strict_memory_bound is set,
15071507 // we max the above with wu.rsc_memory_bound.
1508- // This is to handle apps (like CPDN) whose WSS is small for a while
1508+ // This is to handle apps (like CPDN) whose RSS is small for a while
15091509 // and then gets big.
15101510 //
15111511 double erss = 0 ;
@@ -1544,7 +1544,7 @@ bool CLIENT_STATE::enforce_run_list(vector<RESULT*>& run_list) {
15441544 }
15451545 if (log_flags.cpu_sched_debug || log_flags.mem_usage_debug ) {
15461546 msg_printf (rp->project , MSG_INFO ,
1547- " [cpu_sched_debug] skipping %s: virtual size (%.2f GB) exceeds swap left (%.2f GB)" ,
1547+ " [cpu_sched_debug] skipping %s: swap usage (%.2f GB) exceeds swap left (%.2f GB)" ,
15481548 rp->name , eswap/GIGA , swap_left/GIGA
15491549 );
15501550 }
0 commit comments