From: Kimitoshi T. <kt...@cl...> - 2004-03-11 14:48:25
|
Hello Erik, I think it would be nice if the renice command on the master were correctly forwarded to slave nodes so that we are less dependent on queing systemes to prioritize jobs. What do you think ? I still can't understand why I couldn't bpsh renice, since the PID on the slave was obtained by "bpsh 1 ps -ef" and hence it should be local pid. Would you elaborate a little more ? Anyway, I really like the bproc concept, and hope it will realize true light weight SSI. It's a shame that I don't have enough skill to contribute ... Kimitoshi Takahashi er...@he... さんは書きました: >On Tue, Mar 09, 2004 at 11:10:20PM +0900, Kimitoshi Takahashi wrote: >> Hello all, >> >> I want to change priorities of remote jobs on bproc slaves. >> The normal "renice" command doesn't seem to affect priorities on slaves. >> (by monitoring /proc/PID/stat) >> >> I tried to change priority of a proccess using bpsh. >> >> $ bpsh 1 -n sleep 9000 & >> $ bpstat -p >> PID Node >> 17634 1 >> $ bpsh 1 ps -ef >> UID PID PPID C STIME TTY TIME CMD >> ktaka 17634 17632 0 Mar25 ? 00:00:00 sleep 9000 >> ktaka 17729 17727 0 Mar25 ? 00:00:00 ps -ef >> >> $ bpsh 1 renice 20 17634 >> renice: 17634: getpriority: No such process >> >> How can I renice remote proccess? > >renice is one of those syscalls I missed which means it doesn't do the >process ID mapping on the remote node or get forwarded correctly... > >- Erik |