On Wed, Feb 20, 2002 at 05:43:52AM -0800, nazim khan wrote: > I am using Linux kernel 2.4.2. That's a pretty ancient kernel. You might consider to upgrade to something more recent. > I want to measure the time taken by kernel to do > context switching. What is the best way do to it which > gives me accurate result. The standard tool for that is lmbench, available from the "free software" section on http://www.bitmover.com/ . Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/