Link to home
Start Free TrialLog in
Avatar of rfr1tz
rfr1tz

asked on

How to change the jiffy on Intel Linux box to 1 ms

Hi all,

Normally, the jiffy in Intel box that run Linux, e.g. Reg Hat Linux, is 10ms
If we'd like to change the jiffy to 1ms so that we can run have run with higher resolution, can we do it?
And if YES, how to change it?

Thanks for any suggestion/any help,

Rfr1tz

ASKER CERTIFIED SOLUTION
Avatar of manish_regmi
manish_regmi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of manish_regmi
manish_regmi

Also,
 This is a very high resolution. It can have negative effects like slowing down the system. Because it needs to run timer interrupt handler every 1 ms. If you are running low resolution pentium ie, 133MHZ or low, See the effect.
 The chip in intel 8254 PIT supports this resolution. All of the arch may not support this.
Also recompile the kernel, boot with it and you are done.

regards manish
Avatar of rfr1tz

ASKER

Hi manish_regmi,

Thanks a lot for your help.
You mentioned that intel 8254 PIT supports this resolution.
The system we're running now is IBM Blade x355 that have Intel Xeon chip. Do you know this kind chip supports this resolution?

Thanks a lot,

Rfr1tz

Avatar of rfr1tz

ASKER

Thank you so much for your help on this.

Rfr1tz

Dont know about that particularly. But all x86 use that pit chip or compatibles.
SO, Not problem what your motherboard is, If it is x86 compatible, it should have used 8254 or something compatible.

regards manish
hi,

you asked about making clock to 1ms. I told make HZ to 1000.
 At that time you didn't mention about xeon. So, i assumed ia-32 but Xeons are ia-64.
So instead of changing asm-i386. First configure. it will then amke a symbolic link called "asm"  which points to architecture specfic asm folder. Change the HZ value to 1000 on asm/param.h.

regards manish