mirror of
https://pagure.io/numad.git
synced 2024-12-17 21:04:31 +00:00
Spelling fixes
This commit is contained in:
parent
cf6c2c029e
commit
d696d6c413
2
numad.8
2
numad.8
@ -127,7 +127,7 @@ to allow numad to leave more process memory distributed on various nodes.
|
||||
Increase the threshold to instruct numad to try to localize more memory.
|
||||
Acceptable values are between 50 and 100 percent. Note that setting the target
|
||||
memory locality to 100% might cause numad to continually retry to move memory
|
||||
that the kernel will never succesfully move.
|
||||
that the kernel will never successfully move.
|
||||
.TP
|
||||
\fB\-p\fR <\fIPID\fP>
|
||||
Add PID to explicit inclusion list of processes to consider for managing, if
|
||||
|
4
numad.c
4
numad.c
@ -1997,7 +1997,7 @@ id_list_p pick_numa_nodes(int pid, int cpus, int mbs, int assume_enough_cpus) {
|
||||
int disp_percent = (100 * nonlocal_memory) / p->MBs_used;
|
||||
// If this existing process is already located where we want it, then just
|
||||
// return NULL indicating no need to change binding this time. Check the
|
||||
// ammount of nonlocal memory against the target_memlocality_perecent.
|
||||
// amount of nonlocal memory against the target_memlocality_perecent.
|
||||
if ((disp_percent <= (100 - target_memlocality)) && (p->bind_time_stamp) && (EQUAL_LISTS(target_node_list_p, p->node_list_p))) {
|
||||
// Already bound to targets, and enough of the memory is located where we want it, so no need to rebind
|
||||
if (log_level >= LOG_DEBUG) {
|
||||
@ -2515,7 +2515,7 @@ int main(int argc, char *argv[]) {
|
||||
// Figure out if this is the daemon, or a subsequent invocation
|
||||
int daemon_pid = get_daemon_pid();
|
||||
if (daemon_pid > 0) {
|
||||
// Daemon is already running. So send dynamic options to persistant
|
||||
// Daemon is already running. So send dynamic options to persistent
|
||||
// thread to handle requests, get the response (if any), and finish.
|
||||
msg_t msg;
|
||||
if (C_flag) {
|
||||
|
Loading…
Reference in New Issue
Block a user