Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel
Workings/effectiveness of the xen-acpi-processor driver
 

Index | Next | Previous | View Flat


stefan.bader at canonical

Apr 25, 2012, 6:00 AM


Views: 523
Permalink
Workings/effectiveness of the xen-acpi-processor driver

Since there have been requests about that driver to get backported into 3.2, I
was interested to find out what or how much would be gained by that.

The first system I tried was an AMD based one (8 core Opteron 6128 [at] 2GH). Which
was not very successful as the drivers bail out of the init function because the
first call to acpi_processor_register_performance() returns -ENODEV. There is
some frequency scaling when running without Xen, so I need to do some more
debugging there.

The second system was an Intel one (4 core i7 920 [at] 2) which was
successfully loading the driver. Via xenpm I can see the various frequencies and
also see them being changed. However the cpuidle data out of xenpm looks a bit odd:

#> xenpm get-cpuidle-states 0
Max C-state: C7

cpu id : 0
total C-states : 2
idle time(ms) : 10819311
C0 : transition [00000000000000000001]
residency [00000000000000005398 ms]
C1 : transition [00000000000000000001]
residency [00000000000010819311 ms]
pc3 : [00000000000000000000 ms]
pc6 : [00000000000000000000 ms]
pc7 : [00000000000000000000 ms]
cc3 : [00000000000000000000 ms]
cc6 : [00000000000000000000 ms]

Also gathering samples over 30s does look like only C0 and C1 are used. This
might be because C1E support is enabled in BIOS but when looking at the
intel_idle data in sysfs when running without a hypervisor will show C3 and C6
for the cores. That could have been just a wrong output, so I plugged in a power
meter and compared a kernel running natively and running as dom0 (with and
without the acpi-processor driver).

Native: 175W
dom0: 183W (with only marginal difference between with or without the
processor driver)
[.yes, the system has a somewhat high base consumption which I attribute to a
ridiculously dimensioned graphics subsystem to be running a text console]

This I would take as C3 and C6 really not being used and the frequency scaling
having no impact on the idle system is not that much surprising. But if that was
true it would also limit the usefulness of the turbo mode which I understand
would also be limited by the c-state of the other cores.

Do I misread the data I see? Or maybe its a known limitation? In case it is
worth doing more research I'll gladly try things and gather more data.

Thanks,
Stefan
Attachments: signature.asc (0.88 KB)

Subject User Time
Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical Apr 25, 2012, 6:00 AM
    Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle Apr 26, 2012, 8:50 AM
        Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical Apr 26, 2012, 9:25 AM
            Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle Apr 26, 2012, 10:04 AM
                Re: Workings/effectiveness of the xen-acpi-processor driver pasik at iki May 6, 2012, 8:23 AM
                    Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 7, 2012, 10:33 AM
                        Re: Workings/effectiveness of the xen-acpi-processor driver pasik at iki May 7, 2012, 10:44 AM
            Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 1, 2012, 1:02 PM
                Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 1, 2012, 3:35 PM
                    Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 1, 2012, 3:54 PM
                        Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 1, 2012, 5:47 PM
                            Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 1, 2012, 6:11 PM
                                Re: Workings/effectiveness of the xen-acpi-processor driver JBeulich at suse May 2, 2012, 2:19 AM
                        Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 7:56 AM
                    Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 1:36 AM
                    Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 8:01 AM
                        Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 2, 2012, 9:08 AM
                            Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 2, 2012, 10:06 AM
                                Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 2, 2012, 10:14 AM
                                    Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 2, 2012, 2:31 PM
                                        Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 2, 2012, 2:41 PM
                                            Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 2, 2012, 3:09 PM
                                                Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 11:55 PM
                                                    Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 3, 2012, 3:00 AM
                                                Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 3, 2012, 5:58 AM
                                                    Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 3, 2012, 7:47 AM
                                                        Re: Workings/effectiveness of the xen-acpi-processor driver konrad at darnok May 3, 2012, 8:46 AM
                                                            Re: Workings/effectiveness of the xen-acpi-processor driver boris.ostrovsky at amd May 3, 2012, 10:02 AM
                                                            Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 3, 2012, 10:08 AM
                                                                Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 4, 2012, 1:00 AM
                                                Re: Workings/effectiveness of the xen-acpi-processor driver konrad.wilk at oracle May 3, 2012, 9:14 AM
                            Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 2:29 PM
                Re: Workings/effectiveness of the xen-acpi-processor driver stefan.bader at canonical May 2, 2012, 1:22 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.