|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 24 Dec 2003 16:04:42 To : Mykola Dzham Subject : частота процессора -------------------------------------------------------------------------------- 24 Dec 03, Mykola Dzham writes to Alexey Desyatnik: >> DA> Кстати. а в наглую рулить этим hw.acpi.cpu.current_speed можно? >> DA> ну например знаю я что мне сейчас перфоманс вообще ни к черту, а >> DA> сижу на аккумах - взял и поставил 1... или 0 (сколько там можно?;) >> >> Оно вообще-то для этого и предназначено :) Теоретически, по крайней мере. MD> Похоже только теоретически: MD> [12:54]:root@levsha>sysctl hw.acpi.cpu.current_speed MD> hw.acpi.cpu.current_speed: 2 MD> [12:54]:root@levsha>sysctl hw.acpi.cpu.current_speed=1 MD> sysctl: oid 'hw.acpi.cpu.current_speed' is read only MD> [12:54]:root@levsha> Message-ID: <20031209175230.I44055@root.org> I'm working on a shared CPU frequency control driver. One step is to remove some of the autonomy of the throttling portion of acpi_cpu. Please test this patch if you have a machine which supports throttling. With this patch, throttling can be changed by doing: sysctl hw.acpi.cpu.current_speed=X where X is some number between 1 and hw.acpi.cpu.max_speed. It is no longer driven by AC line transitions. Run a CPU benchmark like this one to make sure the throttling transition still works with this patch. ... Даже маленькая практика стоит большой теории --- GoldED+/BSD 1.1.5 * Origin: (2:5030/500) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22213fe9822d.html, оценка из 5, голосов 10
|