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

R3 higher CPU/power usage at idle #1253

Closed
tasket opened this Issue Sep 29, 2015 · 8 comments

Comments

Projects
None yet
3 participants
@tasket

tasket commented Sep 29, 2015

The system appears to be using significantly more CPU cycles at idle under Qubes R3rc3 than it did under R2. In R3, xentop reports about 15% dom0 CPU usage at system idle with 7 domUs loaded, and about 8% CPU with zero domUs. This activity does not show up in Qubes Manager CPU meter for dom0.

In R2, xentop does not report dom0 cpu usage. However, top run under both R3 and R2 does show a difference (IIRC) about 5-8% less under R2.

The system fan also runs more and the laptop itself is noticeably warmer than it usually was when running R2.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Sep 29, 2015

Member

Try close qubes manager window - updating CPU and memory graphs uses
non-negligible CPU power...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Sep 29, 2015

Try close qubes manager window - updating CPU and memory graphs uses
non-negligible CPU power...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Sep 30, 2015

I will try. However, that would indicate a change for the worse in Qubes Manager: It was running and open on both R2 and R3.

I also have a test installation of R2 still available. If you prefer, I can collect data for comparisons or diagnostics (so far I've just got some screenshots of xentop and top). If there is a way to make xentop report dom0 stats in R2 that could help.

tasket commented Sep 30, 2015

I will try. However, that would indicate a change for the worse in Qubes Manager: It was running and open on both R2 and R3.

I also have a test installation of R2 still available. If you prefer, I can collect data for comparisons or diagnostics (so far I've just got some screenshots of xentop and top). If there is a way to make xentop report dom0 stats in R2 that could help.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

As for dom0 in R2 xentop, try this:

UUID=c6c60319-2338-499f-bd60-39e55d6deebb
xenstore-write /vm/$UUID/name dom0
xenstore-write /local/domain/0/vm /vm/$UUID

(UUID is arbitrary, you can generate new one)

Member

marmarek commented Oct 8, 2015

As for dom0 in R2 xentop, try this:

UUID=c6c60319-2338-499f-bd60-39e55d6deebb
xenstore-write /vm/$UUID/name dom0
xenstore-write /local/domain/0/vm /vm/$UUID

(UUID is arbitrary, you can generate new one)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

Also take a look at this comment

Member

marmarek commented Oct 8, 2015

Also take a look at this comment

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

One more thing - currently in R3 Qubes Manager doesn't report CPU stats for dom0 at all. #1302

Member

marmarek commented Oct 8, 2015

One more thing - currently in R3 Qubes Manager doesn't report CPU stats for dom0 at all. #1302

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jan 14, 2017

Member

@tasket: Are you still experiencing this problem?

Member

andrewdavidwong commented Jan 14, 2017

@tasket: Are you still experiencing this problem?

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Jan 14, 2017

@andrewdavidwong In a general way, no.. it appears to be gone. However, there is a high idle issue with pulse audio when I've had firefox or rhythmbox using audio recently (even while audio is not playing). If I exit the firefox or rhythmbox that was playing audio, the CPU usage subsides. BTW I have not enabled low-latency audio mode.

Also, Manager is using about 2.5% CPU--not much--while pulse in dom0 uses 7-12% at idle.

I don't know if my earlier impression that led me to create this issue had anything to do with audio, but I think its possible.

tasket commented Jan 14, 2017

@andrewdavidwong In a general way, no.. it appears to be gone. However, there is a high idle issue with pulse audio when I've had firefox or rhythmbox using audio recently (even while audio is not playing). If I exit the firefox or rhythmbox that was playing audio, the CPU usage subsides. BTW I have not enabled low-latency audio mode.

Also, Manager is using about 2.5% CPU--not much--while pulse in dom0 uses 7-12% at idle.

I don't know if my earlier impression that led me to create this issue had anything to do with audio, but I think its possible.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jan 14, 2017

Member

Ok, I think that merits closing this one, then.

Member

andrewdavidwong commented Jan 14, 2017

Ok, I think that merits closing this one, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment