XXHighEnd - The Ultra HighEnd Audio Player
April 23, 2024, 09:42:30 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: August 6, 2017 : Phasure Webshop open ! Go to the Shop
Search current board structure only !!  
   Home   Help Search Login Register  
Pages: 1 [2]  All
  Print  
Author Topic: CPU performance  (Read 21788 times)
0 Members and 1 Guest are viewing this topic.
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16837



View Profile Email
« Reply #15 on: March 07, 2010, 01:37:05 pm »

Ha ! Actually, I think you just saved my day !!

Ok, this is maybe more talking to myself, but it is also informative I think;

I have been working the whole day to find out whay may cause those stupid peaks, while from the program point of view there can't be peaks. Look below for an example of KS Special Mode 22 samples latency (into a 128 samples buffer).
Also, the types of nice graphs vary with all kind of things you can vary with yourself. Now :

At analysing everything by means of cpu usage in the program itself, it is my conclusion from there that the amount of cpu used can not be registered at all times, thus, asking for it in a fixed interval, won't show updates other then at *another* fixed interval which is outside my view. And, I already notice that what we see from the cpu graph by the OS (like below picture) in fact shows the same. So :
The OS is (very) periodically too busy with other things, to update "my" cpu usage.

... But not so with an Atom processor ...

At least, that is what I now think;
The problem you had (with the Wallpaper and stuff) in fact is a very constant loop, and your Atom shows this as a constant loop. In my case though it shows as spikes, similar to the graph below. But it ain't spiking !

And thus, what we see (for the "normal" Intel) just is not reality. It also explains why in between the peaks a virtual "no cpu usage" shows, which to my believe is sheer impossible with 22 samples latency to begin with. Nope, it is the average we should watch for, and the peaks are just "fake". In total they will be correct, but not what we see in real time.

I hope this solves a kind of psychologial problem for myself, because I can't stand those peaks, them clearly implying that I'm doing something wrong (like the Wallpaper thing was such a real life example of it).

Peter Cool


* CPUPeaks01.png (1.78 KB, 306x73 - viewed 632 times.)
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
listening
Audio Loudspeaker
*
Offline Offline

Posts: 199


View Profile
« Reply #16 on: March 07, 2010, 02:08:28 pm »

The cpu chips are more complex systems than ever before. From my point of view it is not possible to "reengineer" the behaviour. It could be interesting (but costly unhappy ) to build up a chip with the components only which are necessary for computing the datastream. But that is another project  Wink

Georg
Logged

XXHE 2.10 - PC ASUS Sabertooth X99, passive Cooling / Seasonic P-400FL Platin / Core I7 6800K 6/12 cores scalable @1.2GHz, 16GB, Windows 10 Pro 64 bit build 14393.0, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 30/-/1/1/1/ Q1Factor = 10 / Dev.Buffer = 4096 / ClockRes = 15ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.69  (max 0.69) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ 2GB RAMDisk (IMDisk) / UnAttended (Just Start) / Stop Desktop, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off / Running Time Off / Minimize OS / XTweaks : Balanced Load = 35 / Nervous Rate = 10 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / *Arc Prediction Filtering (16x)* / Always Clear Proxy before Playback = On
(Settings currently not stable)

USB3 from MoBo -> 2m Belkin -> Intona (Standard) with external power supply -> Clairixia cable
USB3 from MoBo -> 0,5m Belkin USB3 -> ALLDAQ ADQ-USB 3.0-ISO-PS with external power supply -> 2m Belkin USB2 cable

-> WaveIO to dddac1794 or to Soekris DAM1021
-> SMSL SU-8 ES9038
-> 2x Gainclone -> TQWT 9710M/01 + BMS 4524 Horn
-> 2x Quad 405 rebuild as mono amps with Dada Electronics boards -> Quad ESL63 Pro
-> 2x Anaview ALC0300-1300 -> Original Celestion SL6 in concrete housing
-> 2x Neumann KH-120
-> Funk MTX Monitor -> AKG K701
listening
Audio Loudspeaker
*
Offline Offline

Posts: 199


View Profile
« Reply #17 on: March 07, 2010, 02:28:24 pm »

Just one additional question : how do you manage to have such a low memory useage ? I mean, XXHighEnd may just manage to use that few, but where's your OS necessities ? or is the Atom enforcing this ?

I did things as usual - disabling everthing what is not necessary. The only unusual I did was disabling hyperthreading.

Georg
Logged

XXHE 2.10 - PC ASUS Sabertooth X99, passive Cooling / Seasonic P-400FL Platin / Core I7 6800K 6/12 cores scalable @1.2GHz, 16GB, Windows 10 Pro 64 bit build 14393.0, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 30/-/1/1/1/ Q1Factor = 10 / Dev.Buffer = 4096 / ClockRes = 15ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.69  (max 0.69) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ 2GB RAMDisk (IMDisk) / UnAttended (Just Start) / Stop Desktop, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off / Running Time Off / Minimize OS / XTweaks : Balanced Load = 35 / Nervous Rate = 10 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / *Arc Prediction Filtering (16x)* / Always Clear Proxy before Playback = On
(Settings currently not stable)

USB3 from MoBo -> 2m Belkin -> Intona (Standard) with external power supply -> Clairixia cable
USB3 from MoBo -> 0,5m Belkin USB3 -> ALLDAQ ADQ-USB 3.0-ISO-PS with external power supply -> 2m Belkin USB2 cable

-> WaveIO to dddac1794 or to Soekris DAM1021
-> SMSL SU-8 ES9038
-> 2x Gainclone -> TQWT 9710M/01 + BMS 4524 Horn
-> 2x Quad 405 rebuild as mono amps with Dada Electronics boards -> Quad ESL63 Pro
-> 2x Anaview ALC0300-1300 -> Original Celestion SL6 in concrete housing
-> 2x Neumann KH-120
-> Funk MTX Monitor -> AKG K701
Calibrator
Audio Enthusiast
**
Offline Offline

Posts: 556

Certified tweakaholic


View Profile
« Reply #18 on: March 08, 2010, 12:36:28 am »

An observation here if I may that could be clouding some judgements.

The amplitudes of these peaks we are seeing are influenced by the refresh rate of the graph. Go to the "view" menu, and drop refresh rate to low , assumming you were in "standard" by default, and notice the peaks drop considerably. Increase the rate to "fast" and observe the peaks are now more intense.

The mere act of having the CPU Usage graph active is causing those spikes as has now been surmised. Could it be implied that not having the CPU monitor running at all would flatten the peaks even more ? There is good cause to suggest that may be so.

Use the graphs as an indicative tool for sure, but the absense ( or presense ) of clicks and plops should be your final indicator that things are OK or not.

Cheers,

Russ
Logged

(Sep 26th 2012) (0.9z-7-4 )
Parameters (0.9z-7-4) ->Coming soon...
Parameters (0.9z-6-1) ->Same as for 0.9z-6
Parameters (0.9z-6) ->http://members.iinet.net.au/~calibrator/XXHE/XXHE_parms_(0.9z-6).jpg
Hardware: Asus P5Q, H2O cooled 3.6GHz C2D, 8GB ram, W7 Ult X64 (NO SP1), O/S plus Galleries on 2x(OCZ 60GB Vertex2) -> ESI Juli@ (v0.978 drivers @ 48 samples) -> coax SPDIF -> Integra DHC-9.9 -> Hafler XL600 -> SGR Audio S-series Octagons -> aural organs -> nucleus accumbens sounds good !

====================
Turntables .. how quaint bored
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16837



View Profile Email
« Reply #19 on: March 08, 2010, 06:05:46 am »

Hahaha ... but no ... My graph already is on the highest spead. And after a day of peeking into everything I really know a bit about the internals (ok, I think).

Btw, what also is funny to observe, is that when at last the cpu data is updated (how much is used is written to the specific area(s)), there are buffer errors. 100% consistent behaviour. The time when it's done is also 100% consistent, as is the graph of it (from lump to lump is several seconds).
But ! don't let yourself confuse by this remark, because the logging of it all (which plainly happened per sample here) takes so much away that buffer errors become a standard.

But thank you for your observations Russ, and to a certain extend you are right of course.

For your fun (etc.) below a part of a list I created dozens of. Each line shows a moment of new cpu usage data. The right column shows how many samples have passed since. As you can see this is a very fixed interval to begin with (the 44032 entries). And try to keep in mind how small of a time unit 1 sample represents, and thus how accurately (in the time domain) the cpu data is updated. Now also see the large numbers; this represents the time the cpu data was *not* updated. Suddenly it takes a 100 times longer before it's done and as you can see this spans some 2 seconds. Exactly the span between the top of the peaks ...
Because of the buffer errors occur in the exact same period as the cpu data won't get updated, it tells me that the OS thinks it is high time to at last do some tasks for other clients, after some 2 seconds (watch out, this is another 2 seconds as those mentioned before) of spending time on "me".

Btw, if you grasp this a bit, you now may understand better how in Vista the services automatically were shut down, which ... now I think of it, never happened in W7. Pitty.

Peter


PS: I learned a lot of this, and maybe ... just maybe there's a new Mode in my head.
swoon


* cpupeaks02.png (36.5 KB, 434x739 - viewed 657 times.)
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
Calibrator
Audio Enthusiast
**
Offline Offline

Posts: 556

Certified tweakaholic


View Profile
« Reply #20 on: March 08, 2010, 08:07:17 am »

hehe ... I did write in a "get out" clause that it "might" cloud judgements  whistle

Without the benefit of your extra logging features it is hard to judge exactly what is happening behind the scenes, but your logging extract had shed another light on that now. Interesting.

I've attached a CPU usage graph of my system FYI and comparison. I also get those regularly intervalled spikes as you can see.

Setting as per in signature.

Cheers,

Russ ( loves waking up to new versions )




* CPU_Usage_Y-8_01.png (253.55 KB, 1280x800 - viewed 727 times.)
Logged

(Sep 26th 2012) (0.9z-7-4 )
Parameters (0.9z-7-4) ->Coming soon...
Parameters (0.9z-6-1) ->Same as for 0.9z-6
Parameters (0.9z-6) ->http://members.iinet.net.au/~calibrator/XXHE/XXHE_parms_(0.9z-6).jpg
Hardware: Asus P5Q, H2O cooled 3.6GHz C2D, 8GB ram, W7 Ult X64 (NO SP1), O/S plus Galleries on 2x(OCZ 60GB Vertex2) -> ESI Juli@ (v0.978 drivers @ 48 samples) -> coax SPDIF -> Integra DHC-9.9 -> Hafler XL600 -> SGR Audio S-series Octagons -> aural organs -> nucleus accumbens sounds good !

====================
Turntables .. how quaint bored
Pages: 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.091 seconds with 19 queries.