We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


Latency from Cyclic Test in NUC
#19
(08-Jun-2022, 08:10 AM)agent_kith Wrote: Bear in mind if you're using cyclictest from within the Snakeoil App, 10x difference is pretty insignificant. Divide the numbers by 1000 and then compare the non-decimals numbers to get a rough idea.
I believe it is time to refresh Cyclictest within the SnakeOil App. Running App while playing Mpd on my 4 CPU Intel NUC with CPUSets enabled and with RT kernel:

# /dev/cpu_dma_latency set to 0us
T: 0 ( 8756) P:80 I:10000 C: 10000 Min: 1691 Act: 1893 Avg: 1911 Max: 4641
T: 1 ( 8757) P:80 I:10500 C: 9525 Min: 1805 Act: 1963 Avg: 2193 Max: 19971

Running my own:
sudo cyclictest -t4 -p 90 -N -s -i 10000 -l 10000 -q
# /dev/cpu_dma_latency set to 0us
T: 0 ( 8993) P:90 I:10000 C: 10000 Min: 1990 Act: 2210 Avg: 2206 Max: 6470
T: 1 ( 8994) P:90 I:10500 C: 9526 Min: 2081 Act: 2779 Avg: 2338 Max: 4752
T: 2 ( 8995) P:90 I:11000 C: 9093 Min: 2072 Act: 3515 Avg: 2372 Max: 5896
T: 3 ( 8996) P:90 I:11500 C: 8698 Min: 2252 Act: 3188 Avg: 2602 Max: 5586

Comments & questions:
  • App results can be misleading for those new to Cyclictest! 
  • Do realise that SnakeOil App is old (and did read a very old thread and the debates!)
  • Cyclictest has its limitations but probably easiest tool to run?  I understand that the most relevant number is the Max latency, and this should be in comments after App has run.
  • Add also in comments that App should be run when playing music, otherwise results are not relevant.
  • App should take into account number of CPUs.  Not sure whether App should run on a particular CPU?
  • How many times should Cyclictest be run?  Each run is a snapshot of the system at that time.  While my Max results are typically 5 to 7 microseconds, I can get 9 to 10 microseconds in about 1 in 10 runs. 
  • This raises the question of whether a histogram of say 10 to 20 runs, makes more sense, but then, how many people are prepared to run the App for an extended period?
  • Wiki should be updated with info from this discussion.  And it should include the comment that the results are not a contest between each person's setup!
Reply


Messages In This Thread
Latency from Cyclic Test in NUC - by hkphantomgtr - 24-Apr-2022, 07:55 AM
RE: Latency from Cyclic Test in NUC - by agent_kith - 24-Apr-2022, 09:45 AM
RE: Latency from Cyclic Test in NUC - by agent_kith - 24-Apr-2022, 02:05 PM
RE: Latency from Cyclic Test in NUC - by Valery - 24-Apr-2022, 12:12 PM
RE: Latency from Cyclic Test in NUC - by Valery - 24-Apr-2022, 08:33 PM
RE: Latency from Cyclic Test in NUC - by Snoopy8 - 28-Apr-2022, 07:18 AM
RE: Latency from Cyclic Test in NUC - by Snoopy8 - 27-Apr-2022, 04:09 PM
RE: Latency from Cyclic Test in NUC - by agent_kith - 08-Jun-2022, 08:10 AM
RE: Latency from Cyclic Test in NUC - by Snoopy8 - 09-Jun-2022, 10:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Portable Snakeoil :-) First test. Bromf 26 8,573 30-Jun-2024, 06:26 PM
Last Post: Snoopy8
Question How to upgrade to low latency kernel on Pi OS(Debian bookworm)? clark8888 11 3,144 14-Feb-2024, 03:18 PM
Last Post: uglymusic



Users browsing this thread: 2 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2580
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1760
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9952
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 1050
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 775
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5772
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 6199
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 16270
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 5435
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1406

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.