Skip to contentSkip to conversation

Help with the histogram of latency test

Xenomai Chiara 2 participants 6 messages Oct 21, 2013 – Oct 24, 2013 2 messages not in the archive

lore
Share & tools
lore

Chiara

author
#0 lore raw

Hi,
I'm new of xenomai.
I would analyze latency performance on different architecture and I want to use the histogram that latency produce with the option -g. But when I use the script histo.gp I visualize this warning message:
"skipping unreadable file, no data in plot"

I write this command

gnuplot -e 'input_file="/usr/xenomai/bin/.latency -t1 - g gr ";output_file="/usr/xenomai/bin/gr";graph_title="graph";' /usr/xenomai/bin/histo.gp

Thanks!!

#1 lore raw
Quoted 9 lines · Chiara

Hi,
I'm new of xenomai.
I would analyze latency performance on different architecture and I want to use the histogram that latency produce with the option -g. But when I use the script histo.gp I visualize this warning message:
"skipping unreadable file, no data in plot"

I write this command

gnuplot -e 'input_file="/usr/xenomai/bin/.latency -t1 - g gr ";output_file="/usr/xenomai/bin/gr";graph_title="graph";' /usr/xenomai/bin/histo.gp

The input file of the histo.gp script is the output file you obtained with latency -g. The output file is the file where you want the script to put the generated image.

Signature · 1 line
					    Gilles.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw

Hi Gilles,
I tried latency test and xeno-test..
I would compare my histogram with yours but I think that our parameters are different..
In my histogram the scale of the user space latency arrives on 300 microseconds and the difference between the values is 50 microseconds, while your's 5..could you say me how can I reproduce the same histogram? So I can compare them!

Thank you very much!

Il giorno 21/ott/2013, alle ore 12:50, Gilles Chanteperdrix <[email protected]> ha scritto:

Quoted 31 lines · Chiara Capretti
Quoted 2 lines

I resolved..my problem's very stupid..I forget "sudo", so latency - g can't produce any graph!

Well, no, simply pass a path to latency to a directory where you have permission to write and it will be able to create the graph. /usr/bin is not really appropriate for that. Or run latency from there, not from /usr/bin.

Quoted 3 lines

Do anyone know where I can find some information about the result of latency test? I need to compare them between different architecture, but I haven't any parameters of reference.

Starting from the I-pipe patch for 3.2, I have saved the latencies I get on my test platforms:

http://www.xenomai.org/~gch/core-3.2-latencies/
http://www.xenomai.org/~gch/core-3.4-latencies/
http://www.xenomai.org/~gch/core-3.5-latencies/
http://www.xenomai.org/~gch/core-3.8-latencies/
http://www.xenomai.org/~gch/core-3.10-latencies/

At the top of the page, you will find the parameters I use with xeno-test. To get meaningful result, you need to generate some load on the target, see xeno-test and dohell documentation:
http://www.xenomai.org/documentation/xenomai-2.6/html/xeno-test/index.html
http://www.xenomai.org/documentation/xenomai-2.6/html/dohell/index.html

Signature · 1 line
					    Gilles.
#5 lore raw
Quoted 4 lines · Chiara

Hi Gilles,
I tried latency test and xeno-test..
I would compare my histogram with yours but I think that our parameters are different..
In my histogram the scale of the user space latency arrives on 300 microseconds and the difference between the values is 50 microseconds, while your's 5..could you say me how can I reproduce the same histogram? So I can compare them!

On what platforms are you running the test? Except on at91rm9200, 300 microseconds is an abnormal latency. See:
http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_the_latency_test_shows_high_latencies

Signature · 1 line
                                                                Gilles.
#6 lore raw

I'm running the test on an X86.. Intel core i7, 2.9 GHz. I installed Ubuntu and Xenomai on a virtual machine.

Quoted 18 lines

Date: Thu, 24 Oct 2013 08:29:23 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Xenomai] Help with the histogram of latency test

Quoted 4 lines · Chiara

Hi Gilles,
I tried latency test and xeno-test..
I would compare my histogram with yours but I think that our parameters are different..
In my histogram the scale of the user space latency arrives on 300 microseconds and the difference between the values is 50 microseconds, while your's 5..could you say me how can I reproduce the same histogram? So I can compare them!

On what platforms are you running the test? Except on at91rm9200, 300 microseconds is an abnormal latency. See:
http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_the_latency_test_shows_high_latencies

Signature · 1 line
                                                                Gilles.
#7 lore raw
Quoted 12 lines · Chiara Capretti
Quoted 12 lines

Date: Thu, 24 Oct 2013 08:29:23 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Xenomai] Help with the histogram of latency test

Quoted 4 lines · Chiara

Hi Gilles,
I tried latency test and xeno-test..
I would compare my histogram with yours but I think that our parameters are different..
In my histogram the scale of the user space latency arrives on 300 microseconds and the difference between the values is 50 microseconds, while your's 5..could you say me how can I reproduce the same histogram? So I can compare them!

Quoted 5 lines
Quoted 3 lines

On what platforms are you running the test? Except on at91rm9200, 300 microseconds is an abnormal latency. See:
http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_the_latency_test_shows_high_latencies

I'm running the test on an X86.. Intel core i7, 2.9 GHz. I installed >

Ubuntu and Xenomai on a virtual machine.

The latencies you get do not mean anything then.

Please, no top posting.

Signature · 1 line
                                                                Gilles.