lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Scheduling with Hyperthreading
Date
From

What is the nature of this jobs that you are running?
1) Just the continuous computations from the user land
2) computations mixed with some system calls, i/o or some other of sleep
wakeups.

My guess at this moment is that it is the former one. With that kind of
a load, one can easily get stuck in this "bad" situation with 2 jobs
running on the same package. And as these processes doesn't sleep or get
scheduled out, they continue to run on the same CPUs, mostly trying to
use any cache affinity in those CPUs.

2.4.20 has code in place to take care of load as in 2 above. When trying
to find the best CPU to schedule in a process (while waking up from
sleep), it actually looks at idle package v/s idle logical processor.


Thanks,
-Venkatesh

> -----Original Message-----
> From: Mike Sullivan [mailto:mike.sullivan@alltec.com]
> Sent: Tuesday, February 25, 2003 1:01 PM
> To: Mark Hahn; linux-kernel
> Subject: Re: Scheduling with Hyperthreading
>
>
> Mark
>
> I would to a quick snap with top, and when I saw 99.9% I
> assumed the the
> process had
> been there during the time top was starting up.
>
> Looking at /proc/(pid)/cpu, shows that with two jobs running they are
> sticking to cpu 0 and 1
> which are siblings
>
>
>
>
>
>
> Regards
>
>
>
> Mike
>
> Mark Hahn wrote:
>
> >>that if I run two compute intensive jobs on a Dual Xeon,
> the processes
> >>run on separate
> >>physical cpus and can spend a significant amount of time
> with both on a
> >>single
> >>cpu.
> >>
> >>
> >
> >how did you determine this? running another program, such as top,
> >will naturally disturb the scheduler and corrupt any observations.
> >the only means I can think of is to look in /proc/<pid>/cpu near
> >very infrequently (ideally, just before the processes exit.)
> >or is this what you've done?
> >
> >
>
> --
> ----------------------------------------------------------------------
> Mike Sullivan Director Performance Computing
> @lliance Technologies, Voice: (416) 385-3255,
> 18 Wynford Dr, Suite 407 Fax: (416) 385-1774
> Toronto, ON, Canada, M3C-3S2 Toll Free:1-877-216-3199
> http://www.alltec.com
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.028 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site