Re: SMP and setrunnable()- scheduler 4bsd

From: Julian Elischer <julian_at_elischer.org>
Date: Mon, 21 Jul 2003 17:01:55 -0700 (PDT)
On Tue, 22 Jul 2003, Andy Farkas wrote:

> > Mr Wolf,
> 
> Heh, you noticed :)
> 
> > > Currently (cpu_idle_hlt=1) the load is fluctuating between 2.20 and 3.60
> > > every few minutes! (xload looks like a graph of a sinewave)
> > >
> > > If I set cpu_idle_hlt back to 0 the load goes back to a steady 3.80 where
> > > it should be.
> >
> > define "should".
> 
> When all 3 seti's get their "normal" 95% cpu time:

the change MAY do what you want but it 'may not'

you'll need to try it to see.. :-/


> 
> 32531 setiathome 139   15 16536K 15520K *Giant 1  60.9H 95.85% 95.85% setiathome
> 32533 setiathome 139   15 16856K 16032K CPU3   3  61.0H 95.65% 95.65% setiathome
> 32532 setiathome 139   15 15524K 14912K CPU2   2  60.8H 95.51% 95.51% setiathome
> 54738 andyf      132    0  3084K  2140K *Giant 0  64:54 83.84% 83.84% ssh
>    12 root       -16    0     0K    12K RUN    2 133.4H  3.81%  3.81% idle: cpu2
>    13 root       -16    0     0K    12K RUN    1 131.7H  3.47%  3.47% idle: cpu1
>    14 root       -16    0     0K    12K CPU0   0 130.8H  3.37%  3.37% idle: cpu0
>    11 root       -16    0     0K    12K RUN    3 135.2H  2.88%  2.88% idle: cpu3
> 
> As opposed to "abnormal" when cpu_idle_hlt=1:
> 
> 32533 setiathome 139   15 15828K 15000K CPU1   2  61.0H 89.40% 89.40% setiathome
> 32532 setiathome 139   15 16552K 15660K *Giant 2  60.8H 88.18% 88.18% setiathome
> 54738 andyf      130    0  3084K  2140K select 2  68:54 75.78% 75.78% ssh
>    13 root       -16    0     0K    12K RUN    1 131.7H 29.05% 29.05% idle: cpu1
>    12 root       -16    0     0K    12K CPU2   2 133.4H 28.08% 28.08% idle: cpu2
>    11 root       -16    0     0K    12K CPU3   3 135.2H 27.83% 27.83% idle: cpu3
>    14 root       -16    0     0K    12K RUN    0 130.8H 26.37% 26.37% idle: cpu0
> 32531 setiathome 131   15 15640K 14976K *Giant 2  61.0H 20.51% 20.51% setiathome
> 
> 
> --
> 
>  :{ andyf_at_speednet.com.au
> 
>         Andy Farkas
>     System Administrator
>    Speednet Communications
>  http://www.speednet.com.au/
> 
> 
> 
> 
Received on Mon Jul 21 2003 - 15:02:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC