Re: [PATCH] lscpu: report cpu min mhz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2013-09-22 at 10:39 +0100, Sami Kerola wrote:
> On 22 September 2013 04:43, Davidlohr Bueso <davidlohr@xxxxxx> wrote:
> > The lscpu tool only shows the current and max CPU frequencies, however,
> > in many scenarios this is not enough. If there are energy saving situations
> > (like some CPUs being idle, or not fully used) the cpugov can lower this value.
> 
> Hi Davidlohr,
> 
> The patch seems to work as one might expect. Only small thing seems to require
> attention, tests broke again. Could you run in util-linux source directory
> 
> ./tests/run.sh lscpu
> 
> and adjust expected outputs accordingly?

This actually don't break for me, I get the following with or without
this patch:

-------------------- util-linux regression tests --------------------

                    For development purpose only.                    
                 Don't execute on production system!                 

        lscpu:                                ...
                : armv7                       ... FAILED (lscpu/lscpu-armv7)
                : ppc64-POWER7-64cpu          ... OK
                : ppc64-POWER7                ... OK
                : s390-kvm                    ... OK
                : s390-lpar                   ... OK
                : s390-zvm                    ... OK
                : x86_64-64cpu                ... FAILED (lscpu/lscpu-x86_64-64cpu)
                : x86_64-dell_e4310           ... FAILED (lscpu/lscpu-x86_64-dell_e4310)
           ... FAILED (3 from 8 sub-tests)

---------------------------------------------------------------------
  1 tests of 1 FAILED
---------------------------------------------------------------------

Also, these tests seem to bee arch-specific, so not sure how valuable
updating them would be.

Thanks,
Davidlohr


--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux