So I've just installed fedora core 7 on my laptop so I can do a side by side comparison of scheduler performance. The test I like to do with ULE is to make -j64 kernel while playing a dvd with mplayer and browsing the web. I have verified that make -j64 in the base directory of the linux kernel gets the load average up to the same level. The actual source involved matters little. Both systems are using a gcc 4.x compiler. The laptop is an IBM T42 with a 1.8ghz PentiumM,2 gigabytes of ram, and a 7200 rpm drive.
With the FreeBSD 7.0 configured without debugging options INVARIANTS and WITNESS, but with SCHED_ULE, I get no skipping or glitching of any kind.
With the O(1) scheduler in the default fedora core 7 kernel I get intermittent skipping but it's generally pretty tolerable.
I installed a 2.6.23-pre7 kernel built with 'make defconfig'. Feel free to suggest configuration options that may be relevant. At -j64 the ui was basically unusable. At -j4 it skipped more than the older kernel using -j64. It is my understanding that this is using the CFS scheduler.
I must say that in general the linux experience was very good. The installer was easy enough, although neither it or the installed system seemed to detect my atheros wireless card. I didn't care to futz with it so I just plugged it into my switch directly. It sure looked pretty otherwise. Maybe I'll try PC-BSD when they update to 7.0.
The issue with CFS is that the simple algorithm works very well as long as your interactive tasks consume less cpu in proportion to the other tasks. So for example mplayer takes 10% of the cpu playing a dvd on my machine. If you have 9 cpu hogs and mplayer running, without any information other than runtime or %cpu you can't distinguish between them.
Whether this is an important workload or not is subject to debate.
September 20 2007, 10:09:18 UTC 4 years ago
I've been thinking of instrumenting Quake II source with high-precision time counters to get "process heartbeat distribution" that can be statistically comparable to Linux'/Windows' case. I yet need to instrument (KTR'ace) the kernels as well, as I'm not sure if my timing results would be of any significant help without such instrumentation.
Feel free to correct me if I'm wrong. Thanks.
September 20 2007, 10:30:35 UTC 4 years ago
Is it possible to run quake 2 or 3 on bsd? I don't know. It might be interesting to try. I don't know if I need a hardware accelerated driver even?
There are other issues that may effect this. How frequently the mouse is sampled, for example. Games may also benefit from higher hz rates and more precise timers. There may also be some effect because the games are really designed and optimized for windows even if they may work on unix.
4 years ago
3 years ago
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1 year ago
Anonymous
September 20 2007, 10:24:59 UTC 4 years ago
Desktop scheduling
I couldn't understand the logic behind a fair scheduler being better for a desktop (desktop scheduling should be unfair by nature), so I asked about it in LKML (http://lkml.org/lkml/2007/6/22/406).The consensus was that the scheduler should not make decisions regarding which tasks should have more CPU time than others. That should be done via nice levels.
Of course, this sounded strange to me: you can't expect desktop users to renice their tasks according to their needs. It should be done automatically somehow. They said that distributions or application programmers should take care of using the right nice level for each application. As I'm no expert I accepted this explanation, but I see (think) you don't agree much with it and my feeling is that your approach is better.
September 20 2007, 10:40:23 UTC 4 years ago
Re: Desktop scheduling
I generally dislike nice. I really only see utility in using nice +20 as a pseudo idle priority thing. In most cases users are not going to change tunables and static allocations are almost never going to scale properly. This is the same reason I argued against any kind of threshold/watermark based memory allocation schemes. I favor adaptive algorithms wherever possible.The ULE algorithm is simple, efficient, and has few edge cases where it's not likely to do what you want. It has some tunables available via sysctl but I consider those more for development experiments than for users. However, if the interactivity algorithm isn't doing what you want, you can disable it with a sysctl and use static nice values.
The only really inconvenient edge case is when the task you'd like to be interactive is a cpu hog and you have a number of other cpu hogs running. However, the scheduler is not omnipotent. In this case tricks like boosting the priority of foreground windowing applications are reasonable but we fortunately have not had to resort to that.
3 years ago
September 29 2007, 17:56:04 UTC 4 years ago
http://mail-index.netbsd.org/tech-k
Anonymous
September 29 2007, 21:10:46 UTC 4 years ago
One strange thing is that in Jeff's tests both FreeBSD and Linux peaked at the same number of threads as cores the system had (8 in his case). But in this one, while FreeBSD has a similar behavior (except a small fall after 4 threads), Linux behaves very differently. At 4 tps its performance is very low. It then equals FreeBSD at 7 tps and peaks at about 14 tps in a 4 core box. NetBSD performs only slightly higher than FreeBSD at 4 tps but then peaks at 7 tps. Strange.
Another thing that seems clear is that when a test is run on the system that the developer is using to develop a particular feature the behavior is perfect. Not strange since all the bottlenecks found in that setup have been solved. But then you test in different hardware and the behavior can change dramatically. Here's probably where Linux takes advantage of a broad base of testers. In a particular setup/hardware it might not perform as well as others, but its behavior across many different setups is quite good.
4 years ago
Anonymous
4 years ago
4 years ago
3 years ago
3 years ago
October 1 2007, 23:59:56 UTC 4 years ago
Anonymous
October 15 2007, 16:27:47 UTC 4 years ago
Great work
Jeff - I am sitting at a pre-release 7 machine with SCHED_ULE complied in. Running many Gnome apps. Very, very nice.Thanks for all your hard work.
Arjen
June 27 2009, 17:38:54 UTC 2 years ago
Thanks
sesli sohbetsesli chat
sesli chat
seslichat
sesli panel
tatil otelleri
ucuz oteller
kiralık tekne
tekne kiralama
ajans
oyuncu
tekirdağ nakliyat
tekirdağ evden eve nakliyat
evden eve nakliyat
sağlık
June 26 2010, 10:39:49 UTC 1 year ago
red pepper gel - redpepper gel - redpeper gel - red peper gel - biber jeli - kirmizi biber jeli - red pepper gel - red pepper gel yorumlar - redpepper gel yorumlar - redpeper gel yorumlar - red peper gel yorumlar - biber jeli yorumlar - kirmizi biber jeli yorumlar - red pepper gel yorumlar - red pepper gel kullanimi - redpepper gel kullanimi - redpeper gel kullanimi - red peper gel kullanimi - biber jeli kullanimi - kirmizi biber jeli kullanimi - red pepper gel kullanimi
pepper time - biber hapi - peper time - biber zamani - meksika biber hapi - orjinal pepper time - orjinal biber hapi - orjinal peper time - orjinal biber zamani - orjinal meksika biber hapi - pepper time yorumlar - biber hapi yorumlar - peper time yorumlar - biber zamani yorumlar - meksika biber hapi yorumlar - pepper time kullanimi - biber hapi kullanimi - peper time kullanimi - biber zamani kullanimi - meksika biber hapi kullanimi
June 26 2010, 10:42:33 UTC 1 year ago
fx15 - fx 15 - fx15 zayiflama - fx15 zayiflama hapi - fx15 yorumlar - fx 15 yorumlar - fx15 zayiflama yorumlar - fx15 zayiflama hapi yorumlar - fx15 kullanimi - fx 15 kullanimi - fx15 zayiflama kullanimi - fx15 zayiflama hapi kullanimi - orjinal fx15 - orjinal fx 15 - orjinal fx15 zayiflama - orjinal fx15 zayiflama hapi
renuee - renuee eternelle - renuee catlak kremi - renuee eternelle catlak giderici krem - renuee catlak giderici krem - renuee yorumlar -
renuee eternelle yorumlar - renuee catlak kremi yorumlar - renuee eternelle catlak giderici krem yorumlar - renuee catlak giderici krem yorumlar - renuee kullanimi - renuee eternelle kullanimi - renuee catlak kremi kullanimi - renuee eternelle catlak giderici krem kullanimi - renuee catlak giderici krem kullanimi
June 26 2010, 10:44:34 UTC 1 year ago
yuda - yuda pilatory - yuda sac cikarici - yuda sac - yuda sac dokulmesi - yudali - yudali sac cikarici - yuda yorumlar - yuda pilatory yorumlar - yuda sac cikarici yorumlar - yuda kullanimi - yuda pilatory kullanimi - yuda sac cikarici kullanimi - yuda satis - yuda pilatory satis - yuda sac cikarici satis
radian - radian kremi - radian masaj kremi - radian agri kremi - radian massage krem - radian yorumlar - radian kremi yorumlar - radian masaj kremi yorumlar - radian agri kremi yorumlar - radian massage krem yorumlar - radian kullanimi - radian kremi kullanimi - radian masaj kremi kullanimi - radian agri kremi kullanimi - radian massage krem kullanimi - radian satis - radian kremi satis - radian masaj kremi satis - radian agri kremi satis - radian massage krem satis - orjinal radian - orjinal radian kremi - orjinal radian masaj kremi - orjinal radian agri kremi - orjinal radian massage krem
June 26 2010, 10:44:56 UTC 1 year ago
- lw6090 sorular
- lw6090 sikca sorular
> - lw6090 sorulan sorular
- lw6090 sikca sorulan sorunlar
maurers - maurers zayiflama - maurers zayiflama hapi - maurers yorumlar - maurers zayiflama yorumlar - maurers zayiflama hapi yorumlar - maurers kullanimi - maurers zayiflama kullanimi - maurers zayiflama hapi kullanimi - maurers resmi satis - maurers zayiflama resmi satis - maurers zayiflama hapi resmi satis - orjinal maurers - maurers soru
- maurers sorular
- maurers sikca sorular
- maurers sorulan sorular
maurers sikca sorulan sorular
June 26 2010, 10:49:34 UTC 1 year ago
altin cilek - altincilek - altin-cilek - altin cilek hapi - altin cilek zayiflama - altin
cilek zayiflama hapi - altincilek hapi - altin cilek hapi kullanimi -
altin cilek yorumlar - altincilek yorumlar - altin cilek hapi yorumlar - altin cilek satis - altincilek satis - altin cilek hapi satis - altin cilek satin al - altincilek satin al - altin cilek hapi satin al
ozon yagi - ozonlu yag - ozon-yagi - ozon yagi hapi - ozon yagi - ozon yagi kremi - ozon kremi - ozon yagi kullanimi -
ozon yagi kullanici yorumlari - ozon yagi kremi yorumlar - ozon yagi yorumlar - ozon yagi satis - ozon yagi kremi satis - ozon yaginin faydalari - ozon yagi satin al - ozon yagi kremi satin al - ozon nedir
longda - gold longda - longda gogus buyutucu - longda meme buyutucu - longda gogus buyutme - gogus buyutucu krem - gogus buyuten krem - longda kullanimi -
longda kullanici yorumlari - longda kremi yorumlar - longda yorumlar - longda satis - longda kremi satis - longda gogus buyutucu krem - longda satin al - longda kremi satin al - longda nedir
August 17 2010, 02:14:28 UTC 1 year ago
August 17 2010, 02:21:32 UTC 1 year ago
October 13 2010, 14:57:13 UTC 1 year ago
cheap watches
Hello friend:Welcome to http://www.b2cwatches.com We support you the best quality and the lowest price.Such as:
Replica Watches
Fake Watches
Watch Replica
Replica Swiss Watches
Cheap Watches
ladies watch
Wholesale replica watches
Luxury Watches
mens watch
Free Shipping watch
Replica Audemars Piguet Watches
Replica Cartier Watches
Replica Chanel Watches
Replica Chopard Watches
Replica Concord Watches
Replica Corum Watches
Replica Tag-Heuer Watches
Replica A Lange & Sohne Watches
Replica Breitling Watches
Replica Bvlgari Watches
Replica IWC Watches
Replica Longines Watches
Replica Omega Watches
Replica Oris Watches
Replica Panerai Watches
Replica Patek Philippe Watches
Replica Porsche Design Watches
Replica Rolex Watches
Replica Vacheron Constantin Watches
----------------------------------------
http://www.b2cwatches.com/
http://www.b2cwatches.com/aigner-watche
http://www.b2cwatches.com/bell-ross-wat
http://www.b2cwatches.com/breitling-wat
http://www.b2cwatches.com/cartier-watch
http://www.b2cwatches.com/chanel-watche
http://www.b2cwatches.com/chopard-watch
http://www.b2cwatches.com/concord-watch
http://www.b2cwatches.com/corum-wat
http://www.b2cwatches.com/dior-wat
http://www.b2cwatches.com/with-black-di
http://www.b2cwatches.com/tag-heuer-wat
http://www.b2cwatches.com/a-lange-s
http://www.b2cwatches.com/breitling-wat
http://www.b2cwatches.com/bvlgari-watch
http://www.b2cwatches.com/iwc-watc
http://www.b2cwatches.com/longines-watc
http://www.b2cwatches.com/omega-wa
http://www.b2cwatches.com/oris-wat
http://www.b2cwatches.com/panerai-watch
http://www.b2cwatches.com/patek-philipp
http://www.b2cwatches.com/porsche-desig
http://www.b2cwatches.com/rolex-datejus
http://www.b2cwatches.com/vacheron-cons
October 22 2010, 00:26:01 UTC 1 year ago
Dont me and
We are lookinggazeteler ~
haberler ~
tatil ~
uçak bileti ~
film izle ~
çizgi film ~
facebook video indir ~
liseli kizlar
zayıflama ~
kosmodisk ~
bıktım tozu ~
instyler ~
fix it pro ~
abtronic x2 ~
orjin krem ~
paint zoom ~
basur ~
biber hapı ~
penis büyütücü ~
lazer epilasyon ~
vpills ~
porno
November 30 2010, 13:06:49 UTC 1 year ago
December 9 2010, 01:35:08 UTC 1 year ago
replicabags
Givenchy handbagsGucci handbags
Jimmy Choo handbags
December 15 2010, 06:53:52 UTC 1 year ago
hermes handbags Coach handbags hermes birkin handbags hermes purses discount hermes handbags hermes kelly handbags hermes lindy handbags hermes wallets hermes birkin bags burberry handbags hermes handbag coach handbags
January 8 2011, 19:22:25 UTC 1 year ago
harbiden iyiymiş
Tek tek havayolu şirketlerinin sayfalarına girmenize gerek yok uçak bileti satın almak istiyorsanız sitemizi ziyaret ediniz.January 26 2011, 20:25:11 UTC 1 year ago
tatil
March 20 2011, 17:01:56 UTC 1 year ago
nee
Evden eve nakliyat (http://www.istanbulevdeneve.com)March 26 2011, 17:22:40 UTC 1 year ago
repli
Mucize hap altın çilek ile kilo verin.Ağrılarınız mı var ? orjin krem ile ağrılara son verin.
Kilo vermek zor mu altın çilek form seti ile çok kolay.
Sigaradan bıktım leş gibi kokuyoruz ya tütüne son ile buna son ver.