-
Posts
34 -
Joined
-
Last visited
-
Days Won
2
Reputation Activity
-
whiteghost got a reaction from Sandro in About compiling in ram.
tmpfs /tmp tmpfs noatime 0 0
tmpfs /var/tmp/portage tmpfs size=8G,uid=portage,gid=portage,mode=775,noatime 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec,noatime 0 0
-
whiteghost got a reaction from Sandro in About Intel P-state
sandro, i think you are missing the point on pstate driver.
when i use i7z, it may show frequency maxed out at 3.9GHz, but c1 state shows 97 percent of processor is in halt state.
isn't that power saving?
for a long time i had microcode enabled in kernel and would see in dmesg something about microcode driver.
i assumed it was working but there is more too it.
i use git-sources. i use method two from this page
https://fitzcarraldoblog.wordpress.com/2014/11/06/updating-intel-cpu-microcode-from-gentoo-linux/
-
whiteghost got a reaction from Sandro in About Intel P-state
i added cpupower to default runlevel with this line in conf.d
START_OPTS="--governor powersave -d 1000MHz -u 2000MHz"
and it works.
-
whiteghost got a reaction from Sandro in About Intel P-state
Every 5.0s: cat /proc/cpuinfo | grep "MHz" Fri Jul 15 18:43:12 2016
cpu MHz : 3899.902
cpu MHz : 3900.329
cpu MHz : 3899.902
cpu MHz : 3900.115
look at documentation - /usr/src/linux/Documentation/cpu-freq/
i disable acpi driver enable pstate and powersave gov and pstate works automatically. googling pstate - it gets too technical for me.
i use cpupower frequency info and cpupower frequency set
-
whiteghost got a reaction from Sandro in About Intel P-state
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_GOV_SCHEDUTIL is not set
#
# CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set
#
# shared options
#
# CONFIG_X86_SPEEDSTEP_LIB is not set
#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
CONFIG_INTEL_IDLE=y
# cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 3.90 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 3.90 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: 895 MHz (asserted by call to hardware)
boost state support:
Supported: yes
Active: yes
i do not have cpupower added to rc -
whiteghost got a reaction from yungstorm in Can't boot into my new kernel
http://swift.siphos.be/linux_sea/kernelbuilding.html
http://swift.siphos.be/linux_sea/kernelbuilding.html#idm3571767349040
-
whiteghost got a reaction from fabiobeneditto in error setting sistem language to Portuguese Brazil
$ cat /usr/share/i18n/SUPPORTED | grep BR pt_BR.UTF-8 UTF-8 pt_BR ISO-8859-1
put
pt_BR.UTF-8 UTF-8
in /etc/locale.gen
then run
#locale-gen
nano ~/.bashrc
export LANG="pt_BR.UTF-8"
export LC_COLLATE="C" For a system-wide default locale:
root #env-update && source /etc/profile For a user-specific locale:
user $source ~/.bashrc xfce ~ # locale LANG=pt_BR.UTF-8 LC_CTYPE="pt_BR.UTF-8" LC_NUMERIC="pt_BR.UTF-8" LC_TIME="pt_BR.UTF-8" LC_COLLATE=C LC_MONETARY="pt_BR.UTF-8" LC_MESSAGES="pt_BR.UTF-8" LC_PAPER="pt_BR.UTF-8" LC_NAME="pt_BR.UTF-8" LC_ADDRESS="pt_BR.UTF-8" LC_TELEPHONE="pt_BR.UTF-8" LC_MEASUREMENT="pt_BR.UTF-8" LC_IDENTIFICATION="pt_BR.UTF-8" LC_ALL= # nano /etc/portage/make.conf LINGUAS="pt_BR"
