[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Using more than one cores with qemu user mode
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] Using more than one cores with qemu user mode |
Date: |
Thu, 11 Apr 2019 10:45:09 +0100 |
On Thu, 11 Apr 2019 at 10:29, Paulo Matos <address@hidden> wrote:
> In qemu user mode, once I get a chroot setup and execute commands
> transparently that go through qemu user, it seems to me that even if I
> run make -j8, qemu is only using a core of the host machine. In
> qemu-system I can use -smp but since I am not explicitly calling qemu,
> how can qemu in user mode use more than a single core?
In QEMU's linux-user mode, each guest process is a host
process, and each guest thread is a user thread. So it
will always use exactly as much parallelism as it would
have done if it was a native process.
thanks
-- PMM