Originally posted by dimko
View Post
Linux 6.12 Released With Real-Time Capabilities, Sched_Ext, More AMD RDNA4 & More
Collapse
X
-
-
-
Originally posted by dimko View Post
First thing I did - launched HTOP. Nope, CPU activity was reduced. Which is why I think issue is with polluted CPU cache. As it's only thing I can not see with usual OS tools.
Leave a comment:
-
-
Originally posted by F.Ultra View Post
I agree that it is an interesting problem that makes me a bit puzzled. One idea would be to see if ctrl-z really paused all the steps in the build, aka if the compiler or make forked other processes to do various things they are not paused if the parent is paused, aka I would bring up top and see if it really is only the game taking up cpu at that point as the first step.
Leave a comment:
-
-
Originally posted by dimko View Post
Thanks for interesting perspective.
Can't help but wonder why do I have a performance drop by using ctrl-z. Even though CPU and RAM usage did not change and CPU usage was significantly lower?
Leave a comment:
-
-
Originally posted by F.Ultra View Post
If you pause the execution of the compile with ctrl+z (assuming that the whole compilation was actually paused here and not just some parts of it) then there is no compilation cache, every cache line it occupied would be overwritten by the running application (aka the game). It was already in RAM so what happens is that the copy in cache is replaced.
You cannot cache data that doesn't already exist in RAM, when the CPU wants to read a peace of memory it first have to load a full cache line (64 bytes) from that position of RAM into the cache and only then can the CPU perform calculations on the data. Then when it does writes it overwrites the old position in the cache (if it updated the same data it once loaded) and then later the MMU flushes it from cache to actual RAM.
Can't help but wonder why do I have a performance drop by using ctrl-z. Even though CPU and RAM usage did not change and CPU usage was significantly lower?
Leave a comment:
-
-
Originally posted by dimko View Post
The question becomes, where does existing compilation cache go? RAM? Something tell me - its not the case. Hence the problem.
You cannot cache data that doesn't already exist in RAM, when the CPU wants to read a peace of memory it first have to load a full cache line (64 bytes) from that position of RAM into the cache and only then can the CPU perform calculations on the data. Then when it does writes it overwrites the old position in the cache (if it updated the same data it once loaded) and then later the MMU flushes it from cache to actual RAM.
Leave a comment:
-
-
Originally posted by F.Ultra View Post
well then it is indeed extremely strange since if the task is really paused it is paused and thus it is not running on the cpu and therefore it cannot pollute the cache at all. Who ever said that computers was easy :-)
Leave a comment:
-
-
Originally posted by dimko View Post
Can't be the case, 64 Gig of ram, and ram usage is low.
Leave a comment:
-
Leave a comment: