To: | |
---|---|
Subject: | [ts-7000] Re: Sub 10ms delay on TS-7552 (Cavium cpu) |
From: | "Jean-Francois" <> |
Date: | Thu, 08 Jul 2010 16:57:03 -0000 |
Thanks for the clarifying this. Would there be an other and better way to deal reduce the 10ms minimum delay? I'm afraid that doing what I did could have a significant impact on performance. The BogoMIPS didn't bother. I just saw this as a sign that what I did was not entirely correct and could have other adverse effect. --- In "Kris" <> wrote: > > These are all artifacts from changing your kernel tick rate. The booting delay seen by SD card is because you are causing context switching to happen more often (every 1ms as opposed to 10ms) and since sdctl and nbd are userspace applications they can get switched out more if the dynamic scheduler of the kernel feels they are getting too much CPU time. > > The BoGoMIPS is calibrated based on the kernel tick I believe. They are a horribly measure of CPU speed anyway, and messing with the tick times 10 threw off the calculation times 10. > > -Kris Bahnsen > Technologic Systems > > > --- In JF Morneau jf@ wrote: > > > > With the default kernel, I can't get delays of less than 10ms. I > > increased the CONFIG_HZ from 100 to 1000 and I now can get sub 10ms delays. > > > > Timing in our program seems to work. I could verify from an external > > time source that a 2 ms delay is really 2 ms. However, our custom setup > > was booting in around 13 sec from sd. It now boots in 30 sec. I also > > noticed this change from dmesg: > > > > [ 0.020000] Calibrating delay loop (skipped)... 1916.92 BogoMIPS preset > > > > Before, it was: > > > > [ 0.010000] Calibrating delay loop (skipped)... 191.69 BogoMIPS preset > > > > It seems that there is more to it than just changing the CONFIG_HZ > > kernel config. > > > __._,_.___
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe __,_._,___ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Programming for beginners, josue.cubero |
---|---|
Next by Date: | [ts-7000] Re: Sub 10ms delay on TS-7552 (Cavium cpu), Charles |
Previous by Thread: | [ts-7000] Re: Sub 10ms delay on TS-7552 (Cavium cpu), Kris |
Next by Thread: | [ts-7000] Re: Sub 10ms delay on TS-7552 (Cavium cpu), Charles |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU