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

Re: [Xen-devel] [PATCH 0/2] x86/svm: add pause filtering threshold for SVM



HW Setup:
        CPU: AMD EPYC 7401 24c/48t x 2 
        RAM: 128GB RAM
        Storage: HDD for dom0, SSDs for VMs
SW Setup:
        Xen base 4c7e478d597b0346eef3a256cfd6794ac778b608
        32 VMs
                6 VPCUs per VM
                3.5GB RAM per VM
                7.5GB disk per VM

Results:
        kernbench:
                half -> -j vpcu/2 = one job per host thread
                quad -> -j vpcu*4 = two VMs per host thread,
                                    four jobs per VM VCPU
        pi:
                03 ->  3 in parallel = one pi per host thread
                24 -> 24 in parallel = two VMs per host thread,
                                       four pis per VM VCPU

Kernbench: 
https://github.com/linux-test-project/ltp/blob/master/utils/benchmark/kernbench-0.42/kernbench
pi: based off of 
https://stackoverflow.com/questions/4084571/implementing-the-spigot-algorithm-for-%CF%80-pi
    but with yields and 10ns sleeps added in. 

Between the current usage of pause filtering counter, there's about an
~.5% improve in performance.  While this isn't huge, all that's
required is to write a value in the VMCB.

Attached: 
        elapsed_time_kernbenchhalf.pdf
        elapsed_time_kernbenchquad.pdf
        elapsed_time_pi03.pdf
        elapsed_time_pi24.pdf

-- 
Brian Woods

Attachment: elapsed_time_kernbenchquad.pdf
Description: Adobe PDF document

Attachment: elapsed_time_kernbenchhalf.pdf
Description: Adobe PDF document

Attachment: elapsed_time_pi03.pdf
Description: Adobe PDF document

Attachment: elapsed_time_pi24.pdf
Description: Adobe PDF document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.