[lkml]   [1998]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Device driver scheduling time
Date (Alan Cox) writes:


> > Is there any other way to achieve this ?
> Increase the value of HZ internally or use RtLinux

I increased the value of HZ to 256 and then 1024, but nothing seems to
change. With add_timer + struct timer_list, I still get 100 jiffies
per second (whenever the timer expires, I increase the number of
interrupts received and every 10000 interrupts I printk the number of
interrupts and the current value of jiffies)
With queue_task + struct tq_struct, the results don't seem to change

I thought something would change when changing HZ in

It's my first experience with drivers in Linux, so I might be doing
something stupid... I'm using Alessandro Rubini's LDD book as a

Thank you for your time and help,


Claude Gamache, CAE Electronique Ltee, 8585 Cote-de-Liesse
Saint-Laurent, Quebec, Canada H4T 1G6
Email: Tel.: (514) 341-2000 x3194, Fax: (514) 734-5612

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean