Re: Where can I get the latest cyclictest or the version 0.72

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Dec 2011 21:05:32 -0500
Bei Guan <gbtju85@xxxxxxxxx> wrote:

> 2011/12/5 Clark Williams <williams@xxxxxxxxxx>
> 
> > Bei,
> >
> > That's a git tree. You'll need to compile the images from there.
> >
> > What distro are you using? Debian delivers rt-tests as a .deb, so you
> > could just apt-get it from there. I don't think Fedora delivers
> > rt-tests as an RPM.
> >
> I have two distros, Fedora and Ubuntu. Under the Fedora, I just use "make
> install" and it seems to work well. Now I can use the command cyclictest in
> Fedora.
> 
> But, under the Ubuntu, you mean I can use apt-get. Is the following right?
> apt-get install github.com/clrkwllms/rt-tests.git
>  (But it doesn't work. Please correct me.)

No you don't need to specify the git repository; there should be a
package already set up in the stable debian: apt-get install rt-tests

> 
> 
> Another question, how to get the histogram graphic using the cyclictest. I
> use the following command but I cannot get it.
> 
> [root@localhost ~]# cyclictest -h -s -p 80 -n -i 10000 -l 1000
> WARNING: High resolution timers not available
> policy: fifo: loadavg: 0.13 0.10 0.09 4/229 5283
> 
> T: 0 ( 5283) P:80 I:10000 C:   1000 Min:  14420 Act:14496 Avg:14712 Max:
> 24567
> WARNING: unable to open events/enable
> 

The histogram option (-h) takes an argument, which is the max value
to record in microseconds. So, -h100 would generate a 100 element
histogram (1 microsecond per line). Since it doesn't look like you're
running on an RT kernel (no hrtimers available), you'll have a wide
variance in response times, so you'll need a big histogram range to
catch everything. 

Try this:

# cyclictest -t -p80 -m -i 10000 -l 1000 -h 10000

Then be ready for 10000 lines of output when you control-C out of
cyclictest. 

Clark


Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux