DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th December 2015
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default change frequency of processor

Hi,
How can i do for change processor frenquency ?
There are a file to do it or i must to compile a new kernel ?


Regards
Philippe
Reply With Quote
  #2   (View Single Post)  
Old 18th December 2015
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default

Frequency scaling

- A CPU governor can be found in pkgsrc under sysutils/estd. Setup in /etc/rc.conf, e.g. estd=YES + optional flags via estd_flags=....


Fixed frequency

- CPU frequency information: sysctl -a | grep freq
- Set fixed CPU frequency: sysctl -w machdep.est.frequency.target=2000
Reply With Quote
  #3   (View Single Post)  
Old 18th December 2015
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Quote:
Originally Posted by bashrules View Post
Frequency scaling

- A CPU governor can be found in pkgsrc under sysutils/estd. Setup in /etc/rc.conf, e.g. estd=YES + optional flags via estd_flags=....


Fixed frequency

- CPU frequency information: sysctl -a | grep freq
- Set fixed CPU frequency: sysctl -w machdep.est.frequency.target=2000
HI,
i've compiled => /usr/pkgsrc/sysutils/estd + make install !
into the /etc/rc.conf's file i adding :
estd=YES
estd_flags=2100

i'can checked the frequency because on AMD64 the command => sysctl
CRASH my computer !


I ever tried with a little laptop i386 the command sysctl work fine

I'll try it under I386 quad cores and ARMv7 processor if the command sysctl crash or not.

Regards
Philippe
Reply With Quote
  #4   (View Single Post)  
Old 18th December 2015
pygope pygope is offline
Port Guard
 
Join Date: Apr 2015
Posts: 33
Default

Quote:
Originally Posted by philo_neo71 View Post
HI,
i've compiled => /usr/pkgsrc/sysutils/estd + make install !
into the /etc/rc.conf's file i adding :
estd=YES
estd_flags=2100

i'can checked the frequency because on AMD64 the command => sysctl
CRASH my computer !


I ever tried with a little laptop i386 the command sysctl work fine

I'll try it under I386 quad cores and ARMv7 processor if the command sysctl crash or not.

Regards
Philippe
estd_flags=2100 ????

Read the man page for estd.

With estd -f you can see the frequencies available for your machine.

In my case I have 1862 and 1569.

So I put in my rc.conf:
estd_flags= -d -a -M 1569.

About sysctl ... Sorry but I have no idea.
Does sysctl crash without any warning? Have you checked /var/log/messages?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock's frequency e1-531g OpenBSD General 1 25th September 2015 05:03 PM
SPARC processor documentation LeFrettchen General Hardware 1 30th April 2015 10:15 PM
OpenBSD support a CPU Frequency Scaling? aleunix OpenBSD General 1 8th March 2012 10:35 PM
Xen hypervisor ported to ARM processor J65nko News 0 30th November 2011 11:26 PM
How to detect the frequency of individual cores in a dual core processor? mc_i2020 FreeBSD General 5 18th July 2008 01:46 AM


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick