[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-21 Thread kesim
Samuel wrote: > > > > On 19/03/17 23:25, kesim wrote: > > > > > I have 11 nodes and declared 7 CPUs per node. My setup is such that all > > > desktop belongs to group members who are using them mainly as graphics > > > stations. Therefore from time

[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-19 Thread kesim
ith one core > on each node. If the former 10 jobs had been packed on one node, all > of the latter 9 jobs could have started immediately. > > 2017-03-18 19:06 GMT+01:00 kesim <ketiw...@gmail.com>: > > Dear John, > > > > Thank you for your answer. Obviously you are righ

[slurm-dev] Re: Scheduling jobs according to the CPU load

2017-03-19 Thread kesim
e case SLURM was targeting when it was initially > developed. > > Will > > > On Mar 19, 2017, at 7:26 AM, kesim <ketiw...@gmail.com> wrote: > > I have 11 nodes and declared 7 CPUs per node. My setup is such that all > desktop belongs to group members who are using them mainly

[slurm-dev] Fwd: Scheduling jobs according to the CPU load

2017-03-16 Thread kesim
-- Forwarded message -- From: kesim <ketiw...@gmail.com> Date: Thu, Mar 16, 2017 at 5:50 PM Subject: Scheduling jobs according to the CPU load To: slurm-dev@schedmd.com Hi all, I am a new user and I created a small network of 11 nodes 7 CPUs per node out of users deskt

[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-18 Thread kesim
it is that a non-slurm job is running. I would not suspect that from even simplest scheduler and if I had such prior knowledge I would not invest so much time and effort to setup slurm. Best regards, Ketiw On Sat, Mar 18, 2017 at 5:42 PM, John Hearns <john.hea...@xma.co.uk> wrote: >

[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-16 Thread kesim
t; > That should do what you want. > -Paul Edmon- > > On 03/16/2017 12:54 PM, kesim wrote: > > > -- Forwarded message -- > From: kesim <ketiw...@gmail.com> > Date: Thu, Mar 16, 2017 at 5:50 PM > Subject: Scheduling jobs according to the CPU load >

[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-17 Thread kesim
node100.38 7/0/0/7 node11 0.01 0/7/0/7 As you can see it allocated 7 CPUs on node 4 with CPU_LOAD 2.97 and 0 CPUs on idling node11. Why such simple thing is not a default? What am I missing??? On Thu, Mar 16, 2017 at 7:53 PM, kesim <ketiw...@gmail.com> wrote:

[slurm-dev] Re: Fwd: Scheduling jobs according to the CPU load

2017-03-21 Thread kesim
There is an error in the script. It could be: scontrol update node=your_node_name WEIGHT=`echo 100*$(uptime | awk '{print $12}')/1 | bc` On Tue, Mar 21, 2017 at 8:41 PM, kesim <ketiw...@gmail.com> wrote: > Dear SLURM Users, > > My response here is for those who are trying to s

[slurm-dev] Re: Scheduling jobs according to the CPU load

2017-03-21 Thread kesim
I was reminded by this one: > http://stackoverflow.com/questions/11735211/get-last- > five-minutes-load-average-using-ksh-with-uptime > > Even more a reason to use /proc... > > Regards, > Benjamin > > Am 21.03.2017 um 21:15 schrieb kesim: > > There is an error in the script. It cou

[slurm-dev] Re: Scheduling jobs according to the CPU load

2017-03-22 Thread kesim
On Wed, Mar 22, 2017 at 8:52 AM, kesim <ketiw...@gmail.com> wrote: > Yes, I agree. However, as I pointed out in my previous emails the whole > exercise is not to restrict the nodes but to order them. If everything is > equal submitting jobs to idling nodes first make much more

[slurm-dev] Re: Scheduling jobs according to the CPU load

2017-03-22 Thread kesim
wrote: > > On 22/03/17 08:35, kesim wrote: > > > You are right. Many thanks for correcting. > > Just note that load average is not necessarily the same as CPU load. > > If you have tasks blocked for I/O they will contribute to load average > but will not be using much CPU