Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual Core Graphs #303

Open
Camerooooon opened this issue Jun 1, 2022 · 18 comments
Open

Individual Core Graphs #303

Camerooooon opened this issue Jun 1, 2022 · 18 comments
Labels
enhancement New ideas or features to add feature request Request a new feature
Milestone

Comments

@Camerooooon
Copy link
Collaborator

Graph data (freq, temp, usage) for each core with --graph.

@JakeRoggenbuck JakeRoggenbuck added enhancement New ideas or features to add feature request Request a new feature labels Jun 5, 2022
@JakeRoggenbuck JakeRoggenbuck added this to the 0.1.11 milestone Jun 6, 2022
@Shuzhengz
Copy link
Collaborator

We should take the package temp for the cores that the temperature doesn't work on

@JakeRoggenbuck
Copy link
Owner

We should take the package temp for the cores that the temperature doesn't work on

sounds good

@Camerooooon
Copy link
Collaborator Author

We should take the package temp for the cores that the temperature doesn't work on

What do you mean by package temp?

@Shuzhengz
Copy link
Collaborator

What do you mean by package temp?

The temperature of the CPU package

@JakeRoggenbuck
Copy link
Owner

Is the package like the combination of all of the cores?

@Shuzhengz
Copy link
Collaborator

sort of, but package also includes the iGPU if the die is an APU

@Shuzhengz
Copy link
Collaborator

Shuzhengz commented Jun 18, 2022

its basically a package average of everything on the die

@Camerooooon
Copy link
Collaborator Author

sort of, but package also includes the iGPU if the die is an APU

How do you access the data. Is it in a virtual file system?

@Shuzhengz
Copy link
Collaborator

it might be somewhere deep in the directories

@Shuzhengz
Copy link
Collaborator

Shuzhengz commented Jun 18, 2022

ok found it
for cpu on my laptop the package temp is at /sys/class/thermal/thermal_zone1/temp
u can see the type at /sys/class/thermal/thermal_zone1/type (x86_pkg_temp)

@Camerooooon
Copy link
Collaborator Author

ok found it

for cpu on my laptop the package temp is at /sys/class/thermal/thermal_zone1/temp

u can see the type at /sys/class/thermal/thermal_zone1/type

What is the value of "type"?

@Shuzhengz
Copy link
Collaborator

x86_pkg_temp

@Camerooooon
Copy link
Collaborator Author

x86_pkg_temp

That implies the existence of multiple thermal types. We'll need to do some research to find out what types exist.

@Shuzhengz
Copy link
Collaborator

thermal zone 0 is the type acpitz (the CPU socket temp)

@Camerooooon
Copy link
Collaborator Author

I feel like this could be its own issue. I'll create one

@Shuzhengz
Copy link
Collaborator

thermal zone 0 is the type acpitz (the CPU socket temp)

theres no additional thermal zones on my laptop apart from 0 and 1, but on laptops with dedicated gpu it might have more showing up

@Shuzhengz
Copy link
Collaborator

also on arm devices it might be different (someone test it on a pi or smth)

@Camerooooon
Copy link
Collaborator Author

Camerooooon commented Jun 18, 2022

See #341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New ideas or features to add feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

3 participants