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

No scaling_governor on virtualized environments #49

Open
localh0t opened this issue Jul 27, 2016 · 1 comment
Open

No scaling_governor on virtualized environments #49

localh0t opened this issue Jul 27, 2016 · 1 comment

Comments

@localh0t
Copy link

scaling_governor files under certain VMware environments seems to not exist:

# l "/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor': No such file or directory

My configuration:

  • VM: Xubuntu 16.04 x64
  • Host: Xubuntu 16.04 x64
  • Processors assigned: 2
  • Version: VMware 12.1.1

This leads to:

# python timing-collector.py testTiming1
Traceback (most recent call last):
  File "timing-collector.py", line 197, in <module>
    clear_os_settings(tcpts_previous)
  File "timing-collector.py", line 169, in clear_os_settings
    setPowersave(True)
  File "/tmp/pico/utils/os_utils.py", line 75, in setPowersave
    'r+b')
IOError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'

Should there be a check if the files exist first?

@andresriancho andresriancho added this to the Proof of Concept milestone Jul 27, 2016
@andresriancho
Copy link
Owner

@localh0t you rock 👍 , this tool isn't even released and you're already reporting issues. I agree, there should be a check, thanks for noticing.

If you're interested in helping with the development and tests of this tool let me know. I'll be spending considerable time on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants