You are not logged in.
Pages: 1
On my netbook, getimeofday() is very slow for some reason - e.g. calls to it take up 45% of Firefox's time spent on system calls, vs. 9% on my old Acer laptop. This has a pretty severe impact on interactivity in some programs.
Does anyone know what the hardware origin of this is, and if there are any workarounds for Linux?
Offline
$ cat /sys/devices/system/clocksource/clocksource0/current_clocksource
$ cat /sys/devices/system/clocksource/clocksource0/available_clocksource
tsc acpi_pm
echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksourcetsc is fastest, hpet is slowest, acpi_pm is reasonable.
However, for tsc, I use the kernel command-line option: processor.max_cstate=1
Offline
Thanks. I tried using acpi_pm and tsc (the latter required idle=poll as well), but neither made any noticable difference. Also tried turning of cpu frequency scaling... Again, no change.
Edit: I will note though that acpi_pm improved the netbook's predicted battery life by about an hour.
Last edited by Gullible Jones (2013-09-02 03:14:18)
Offline
Pages: 1