qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] qemu-system_x86_64 CPU pinning


From: Alex
Subject: Re: [Qemu-discuss] qemu-system_x86_64 CPU pinning
Date: Thu, 21 Jan 2016 21:12:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 21/01/16 19:48, Bhattiprolu RaviKumar wrote:
All,

   Attached is the patch over qemu-2.4.1. I have tested this on
Centos7.1 with CentOS VMs using KVM. I am not sure how it effects other
platforms.

It adds a new parameter "-vcpu" to command line. The usage example is "
-vcpu 0,affinity=20" (pin VCPU 0 to CPU ID 20). Please see if it helps you.

regards,
Ravi

On Thu, Jan 21, 2016 at 3:56 PM, alex3kov <address@hidden
<mailto:address@hidden>> wrote:

    __
    I'm interested in that as well. Would you mind proposing your patch
    upstream?


    ---- On Thu, 21 Jan 2016 13:09:28 +0400 *Bhattiprolu RaviKumar
    <address@hidden
    <mailto:address@hidden>>*wrote ----

        Varun,
             I also have a similar requirement. I had patched the code
        over qemu 2.4.1 to add extra options to pin a VCPU to a physical
        CPU. I am not sure why this option is not there in qemu. (or I
        am not aware). If you use the taskset all the VCPU threads are
        getting same mask.

        If you are interested, I can post the patch above qemu 2.4.1
        regards,
        Ravi



This is a list for Qemu users. Here's the development one - https://lists.nongnu.org/mailman/listinfo/qemu-devel, I've seen patches being proposed there.

--
/--Regards, Alex/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]