proposed sysfs semantic change.
Users with dual/quad core systems can currently set individual cores to have different governors (and drivers!), which doesn't really make a lot of sense.
I'm thinking of changing things so scaling_governor file for the 2nd/3rd/4th etc cores is a symlink to the same file in cpu0/
So a write to one file will automatically set things on all related cores within the same package.
For completeness we could also symlink related_cpus and driver.
thoughts ?
Dave
Hey,
Quoted 4 lines · Dave Jones
Users with dual/quad core systems can currently set individual cores to have different governors (and drivers!), which doesn't really make a lot of sense.
Quoted 8 lines
I'm thinking of changing things so
scaling_governorfile for the 2nd/3rd/4th etc cores is a symlink to the same file in cpu0/
So a write to one file will automatically set things on all related cores within the same package.For completeness we could also symlink
related_cpusand driver.thoughts ?
good idea.
Best,
Doinik
Quoted 3 lines · Dave Jones
Users with dual/quad core systems can currently set individual cores to have different governors (and drivers!), which doesn't really make a lot of sense.
Why not? Imagine a system that is partitioned using cpusets or cgroups for different sockets and the partitions runs different workloads.
I could well imagine using different governours (= policies) for those different sockets.
Different drivers probably doesn't make much sense though.
-Andi
Signature · 1 line
[email protected] -- Speaking for myself only.
Quoted 11 lines · Andi Kleen
Quoted 3 lines · Dave Jones
Users with dual/quad core systems can currently set individual cores to have different governors (and drivers!), which doesn't really make a lot of sense.
Why not? Imagine a system that is partitioned using cpusets or cgroups for different sockets and the partitions runs different workloads.
I could well imagine using different governours (= policies) for those different sockets.
Different sockets is fine. I'm talking about different cores within the same socket.
Dave
Quoted 7 lines · Dave Jones
Quoted 6 lines · Andi Kleen
Quoted 3 lines · Dave Jones
Users with dual/quad core systems can currently set individual cores to have different governors (and drivers!), which doesn't really make a lot of sense.
Quoted 7 lines
Quoted 5 lines
Why not? Imagine a system that is partitioned using cpusets or cgroups for different sockets and the partitions runs different workloads.
I could well imagine using different governours (= policies) for those different sockets.
Different sockets is fine. I'm talking about different cores within the same socket.
If you have per core p-states that makes sense too. Even without it could in principle make sense.
-Andi
Signature · 1 line
[email protected] -- Speaking for myself only.