lkml.org 
[lkml]   [2005]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 5
Are there any tools for checking the current number of ticks?
I currently do:
#!/bin/sh

S1=`cat /proc/interrupts | grep "^ 0: " | awk '{ print $2; }'`
sleep 1
S2=`cat /proc/interrupts | grep "^ 0: " | awk '{ print $2; }'`
echo $((S2-S1))

But that gives me output like this on a quiet system with only firefox,
a couple of gnometerms and a bittorrent downloader values like:
folkert@ehm:~$ for i in `seq 1 10` ; do ./ticks ; done
566
511
630
501
522
533
503
516
518
515
which I find quiet high, aren't they?


On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote:
> Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka Tikkanen
> with further code cleanups. Are were there yet?
>
> Cheers,
> Con
> ---
>
>


Folkert van Heusden

--
Auto te koop, zie: http://www.vanheusden.com/daihatsu.php
--------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
--------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-08 17:11    [W:0.094 / U:2.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site