hi, Changing HZ value if you have any great idea, otherwise it will unneceessarily overhead the system and moreover your system will start performing badly, and need static compilation of kernel, what i might suggest is to change the timer0 count with your count this will be easy as if any worst goes you will restart the computer or unload the module,if the system is that much good behaving, HZ is dividing valua to that counter for e.g #define HZ 100 will give you counter of 1193180/100=11931 so load it and reset to original value using following 2 functions void set_pit_count(int counter) { cli(); outb(0x36,0x43); outb((char)(counter & 0xff),0x40); outb((char)(counter >> 8),0x40); sti(); } int get_pit_count(void) { long ntsc=1193180; return ntsc/HZ; } from loadable kernel module i think this will be ok I might be made some mistake forgive me thanks Prasanna --- Zeeshan Ali <zeelists@yahoo.com> wrote: > Hello, > Firsr of all, I'll really appreciate if someone > answers my last email. Secondly, What do i need to > do > to get a higher clock(tick)-rate? just change the > value of HZ in asm/param.h and compile the kernel? > In > simple words: does changing value of HZ in the > #define > really change the value of HZ? > > ===== > --------------------------------------------------------- > "To teach how to live without certainty, and yet > without being paralysed by hesitation, is perhaps > the chief thing that philosophy, in our age, can > still do for those who study it." --Bertrand Russell > > "According to all the rules (of Software > Engineering) I knew, Linux should have been a > disaster, but it was'nt. Instead it was something > wonderfull" -- Eric Raymond > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/