1036a
![]() |
|
|
|
|
|||||||
| FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
ULE scheduler in 7.X and 8.X (maybe in 6 too) has one scenario where it performs really bad. I remember that oldest release of ULE worked in this scenario well (better than 4bsd) but all following ULE versions are really bad in this.
How to reproduce:
You will notice huge performance drop due to background dnetc client. Compile (especially ./configure stuff) runs really slow. It should run on the same speed as without dnetc because intelligent scheduler will steal CPU time from dnetc in favor of compiling. Dnetc is running at nice level 20 after all. ULE scheduler can be tuned via sysctl a bit but i was not able to do any significant improvement Last edited by phoenix; August 22nd, 2011 at 17:31. Reason: Please format your posts! |
|
#2
|
|||
|
|||
|
Which CPU in your system where you done the tests?
|
|
#3
|
|||
|
|||
|
single Intel (in vmware) and dualcore intel on real hw.
|
|
#4
|
|||
|
|||
|
May cause performance degradation when the hyper-threading?
Try to disable hyper-threading and look at the changes ... Code:
echo "machdep.hyperthreading_allowed=0" >> /boot/loader.conf I had to use the scheduler for Core2Duo - 4BSD. |
|
#5
|
|||
|
|||
|
none of them supports HT. Did you tried my how-to repeat test?
|
|
#6
|
|||
|
|||
|
I have a Core2Duo processor - it also does NOT support hyper-threading, but disabling hyper-threading allows the kernel to properly use the topology of my CPU...
I do not repeat your test, but I noticed the same problem with ULE on other tasks running on my laptop... |
|
#7
|
|||
|
|||
|
For ULE may have to do more and sysctl kern.sched.steal_htt=0 ...
|
|
#8
|
|||
|
|||
|
Will it help in your case?
http://docs.freebsd.org/cgi/mid.cgi?...32817.35db5ccd |
|
#9
|
|||
|
|||
|
steal_htt to 0 didn't make any difference.
I will try patch after it will get integrated in v10. |
![]() |
| Tags |
| ule |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] "CPU doesn't support long mode"? | omgbsd | Installing & Upgrading | 8 | July 12th, 2011 11:54 |
| ULE in 8.1-STABLE and CPU topology | jkcarrol | General | 9 | November 6th, 2010 04:12 |
| [Solved] cpu doesn't support long mode (8.1-RC2 in Linux/KVM) | cmeerw | Installing & Upgrading | 3 | July 19th, 2010 22:07 |
| [Solved] Is routing 1000Mbs CPU intensive task? | graudeejs | Networking | 18 | July 3rd, 2010 15:16 |
| CPU limit for jails under ULE scheduler | kostjn | FreeBSD Development | 7 | May 30th, 2009 09:59 |