Date: Sat, 11 Sep 2010 07:08:22 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <201009110708.o8B78aiU019689@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2010-09-11 07:08:22 UTC
FreeBSD src repository
Modified files:
sys/kern sched_4bsd.c
Log:
SVN rev 212455 on 2010-09-11 07:08:22Z by mav
Merge some SCHED_ULE features to SCHED_4BSD:
- Teach SCHED_4BSD to inform cpu_idle() about high sleep/wakeup rate to
choose optimized handler. In case of x86 it is MONITOR/MWAIT. Also it
will be needed to bypass forthcoming idle tick skipping logic to not
consume resources on events rescheduling when it won't give any benefits.
- Teach SCHED_4BSD to wake up idle CPUs without using IPI. In case of x86,
when MONITOR/MWAIT is active, it require just single memory write. This
doubles performance on some heavily switching test loads.
Revision Changes Path
1.141 +28 -4 src/sys/kern/sched_4bsd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009110708.o8B78aiU019689>
