Re: Scheduler fixes for hyperthreading
From: Marcel Moolenaar (marcel_at_xcllnt.net)
Date: 05/22/05
- Previous message: Colin Percival: "Scheduler fixes for hyperthreading"
- In reply to: Colin Percival: "Scheduler fixes for hyperthreading"
- Next in thread: Colin Percival: "Re: Scheduler fixes for hyperthreading"
- Reply: Colin Percival: "Re: Scheduler fixes for hyperthreading"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 21 May 2005 17:34:37 -0700 To: Colin Percival <cperciva@freebsd.org>
On May 21, 2005, at 4:11 PM, Colin Percival wrote:
*snip*
> The following must be done before hyperthreading is re-enabled:
>
> 1. The scheduler must be taught to not run threads on the same
> processor core unless they p_candebug() each other. For reasons
> of performance and locking, this is probably best accomplished by
> only allowing threads to share a processor core if they belong
> to the same process.
> 2. When a thread is in the kernel, there must be a mechanism for
> it to IPI its siblings and put them to sleep, and then wake them
> up later. This would be used any time when a thread in the kernel
> is about to handle sensitive data in a non-oblivious manner; IPsec
> is a good example of where this would be necessary.
>
> Does anyone want to step forward to work on this?
Maybe it's a better idea to describe the problem in much more
detail, rather than dictate what you want someone else to do?
A pointer to where the problem is described/discussed would
do.
Just a thought,
-- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Colin Percival: "Scheduler fixes for hyperthreading"
- In reply to: Colin Percival: "Scheduler fixes for hyperthreading"
- Next in thread: Colin Percival: "Re: Scheduler fixes for hyperthreading"
- Reply: Colin Percival: "Re: Scheduler fixes for hyperthreading"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: call for more SD versus CFS comparisons (was: Re: [ck] Mainline plans)
... problems on my Amarok machine. ... usually test Amarok playback while kernel
package make, ... Putting load onto the VM layer / block layer. ... also the
behavior on a server for example - how does the scheduler behave ... (Linux-Kernel) - Re: page fault in sched_pin()
... > sched_pinearly in the boot process. ... I wasn't booting off the kernel
I thught I was booting off. ... remove it from the scheduler inteface and make it part
of the standard ... page fault while in kernel mode ... (freebsd-current) - Re: BIND9 performance issues with SMP
... instead of having its own dedicated scheduler activation. ... that threads that
block in the kernel don't block the whole process. ... but lock contentions seem
particularly heavy ... The first-level optimization is to create ... (freebsd-current) - Re: [OT] Interview with Con Kolivas on Linux failures
... Con Kolivas, the kernel hacker who authored a better scheduler, recently decided to
quit. ... Loss for Linux ... The former option means you have a CPU scheduler
which is difficult to model, and the behaviour is right 95% of the time and ebbs and flows in its metering
out of CPU and latency. ... (Debian-User) - Re: [patch, 2.6.11-rc2] sched: RLIMIT_RT_CPU_RATIO feature
... >> of a large group of audio developers and users for a way to gain ...
indictment of the kernel requirements-gathering process. ... > feature for another
year than with a crappy feature that is twice as ... Interface and no hit to the scheduler.
... (Linux-Kernel)