Bug 102793 - [patch] [request] top(1): display feature of current CPU frequency
Summary: [patch] [request] top(1): display feature of current CPU frequency
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 6.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 17:40 UTC by Norikatsu Shigemura
Modified: 2018-05-20 18:28 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.59 KB, patch)
2006-09-02 17:40 UTC, Norikatsu Shigemura
no flags Details | Diff
file.diff (1.62 KB, patch)
2006-09-02 17:40 UTC, Norikatsu Shigemura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norikatsu Shigemura freebsd_committer 2006-09-02 17:40:18 UTC
	The recent CPUs can change the operating frequency.  The feature
	makes CPUs for servers workable.  So I want to see relation of
	process status (CPU usage) and CPU current frequency using powerd(8)
	on the fly.

Fix: I confirmed following environment:
	1. Intel Tualatin Core (PentiumIII-S): no display
	   It has no dev.cpu.?.freq.
	2. Intel Dothan Core (Pentium-M): works
	   It has one dev.cpu.?.freq.
	3. Intel Nocona Core (Xeon): works
	   It has one dev.cpu.?.freq.

	I don't run patched top(1), I know that following environment
	will works:

	4. Intel Yonah Core(Core Duo): will works
	   It has one dev.cpu.?.freq.

	I make two patches for 7-current and 6-stable.
	Please apply following patches.

	These patches are following state:
	No objection: hackers
How-To-Repeat: 	We can get CPU frequency by only sysctl on CUI.
	$ sysctl dev.cpu.0.freq
	If you can use GNOME, we can get CPU frequency by
	cpufreq-selector on GUI.
Comment 1 Norikatsu Shigemura freebsd_committer 2006-09-10 02:39:45 UTC
Responsible Changed
From-To: freebsd-bugs->fimp

He was interesting.
Comment 2 Norikatsu Shigemura freebsd_committer 2006-09-10 02:42:00 UTC
Responsible Changed
From-To: fimp->imp

He was intersting.
Comment 3 Edwin Groothuis freebsd_committer 2008-09-25 16:41:04 UTC
Responsible Changed
From-To: imp->edwin

I will see if this can be added for the import of 3.8b1
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:59 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped