Page 13 of 13 FirstFirst ... 3111213
Results 121 to 126 of 126

Thread: HOWTO: CPU Frequency Scaling w/ Kernel Module

  1. #121
    Join Date
    Mar 2010
    Beans
    2

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Yes this is quit helpful.......

    but i want to know that...How to check CPU health status and remain it good for good performance of the computer...

  2. #122
    Join Date
    Feb 2010
    Location
    Cobourg
    Beans
    163

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    borabosna how did you get your scaling to work?
    I have an intel atom and it only tells me that scaling isn't available :S
    ... also Ubuntu thinks my dual-core has 4 cores ... :^)

    john@Mediabuntu:~$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
    stepping : 2
    cpu MHz : 1999.942
    cache size : 512 KB
    physical id : 0
    siblings : 4
    core id : 0
    cpu cores : 2
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
    bogomips : 3999.88
    clflush size : 64
    cache_alignment : 64
    address sizes : 32 bits physical, 48 bits virtual
    power management:

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
    stepping : 2
    cpu MHz : 1999.942
    cache size : 512 KB
    physical id : 0
    siblings : 4
    core id : 1
    cpu cores : 2
    apicid : 2
    initial apicid : 2
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
    bogomips : 4000.02
    clflush size : 64
    cache_alignment : 64
    address sizes : 32 bits physical, 48 bits virtual
    power management:

    processor : 2
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
    stepping : 2
    cpu MHz : 1999.942
    cache size : 512 KB
    physical id : 0
    siblings : 4
    core id : 0
    cpu cores : 2
    apicid : 1
    initial apicid : 1
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
    bogomips : 3999.96
    clflush size : 64
    cache_alignment : 64
    address sizes : 32 bits physical, 48 bits virtual
    power management:

    processor : 3
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
    stepping : 2
    cpu MHz : 1999.942
    cache size : 512 KB
    physical id : 0
    siblings : 4
    core id : 1
    cpu cores : 2
    apicid : 3
    initial apicid : 3
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
    bogomips : 4000.00
    clflush size : 64
    cache_alignment : 64
    address sizes : 32 bits physical, 48 bits virtual
    power management:


  3. #123
    Join Date
    Jun 2009
    Location
    Michigan, USA
    Beans
    20
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by JohnnyC35 View Post
    borabosna how did you get your scaling to work?
    I have an intel atom and it only tells me that scaling isn't available :S
    ... also Ubuntu thinks my dual-core has 4 cores ... :^)
    I believe that Atom 330 has hyperthreading, so a dual core should appear to the operating system as four cores.

    Anyway I'm also trying to get scaling with Xubuntu 10.04 on an IBM Thinkpad A20m, 700MHz PIII. It used to work well with the userspace governor under Hardy. The big problem is there's no cpufreq directory under /sys/devices/system/cpu/cpu0/. Does anyone have any ideas?

    edit: Curiously. the directory is present when I boot the Xubuntu 10.04 live CD, and I can make frequency adjustments with the userspace governor. I installed from the alternate CD, why would there be any difference?
    Last edited by Belfry; May 31st, 2010 at 06:55 PM. Reason: additional info

  4. #124
    Join Date
    Jun 2009
    Location
    Michigan, USA
    Beans
    20
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    The plot thickens. I burned the kernel to a CD and booting it allows the cpufreq directory and subfiles to appear . Powernowd along with the userspace governor then works normally (as it had in Hardy).

    The CD drive sits on the secondary channel (1:0) of the same disk controller as the hard drive (0:0), so it seems strange that booting off one or the other would produce such a divergence. My disk is an old, rickety 12GB Travelstar, so maybe I'll move my installation to a different disk and see what happens.

  5. #125
    Join Date
    Jun 2009
    Location
    Michigan, USA
    Beans
    20
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I have a workaround. Somehow Grub 2 interferes with the kernel creating the cpufreq files, yet they appear with Grub legacy--at least with the Thinkpad A20m. Sometimes you can't teach an old laptop new tricks. I didn't notice any other problems with the sysfs directory.

    Backup your Grub 2 configuration files: /etc/default/grub and /etc/grub.d/*. Uninstall grub-pc and grub-common. Delete all files in /boot/grub/. Then install Grub (the legacy version). Run update-grub and grub-install against your boot disk.

    It is a strange problem. I guess I should send a bug report to the Grub people (sounds kind of funny). Could someone point me the direction to do that?

  6. #126

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Thanks very much for the tutorial, just one possible correction: the only speedstep module I had available was speedstep-lib, which I think worked.

Page 13 of 13 FirstFirst ... 3111213

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •