* [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot
[not found] <152144414128.31022.3971379528979064267.malonedeb@wampee.canonical.com>
@ 2018-03-19 14:18 ` ChristianEhrhardt
2018-03-20 8:17 ` Alistair Buxton
2018-03-20 8:35 ` ChristianEhrhardt
2 siblings, 0 replies; 3+ messages in thread
From: ChristianEhrhardt @ 2018-03-19 14:18 UTC (permalink / raw)
To: qemu-devel
Thanks for the check Alistar,
Lets add a Qemu (upstream) bug task so this one is mirrored to the ML.
I'm not familiar with that area, but on the ML one can decide if it is a
dup to https://bugs.launchpad.net/qemu/+bug/1740219 or not.
** Also affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1756807
Title:
performance regression in qemu-user + proot
Status in QEMU:
New
Status in qemu package in Ubuntu:
New
Bug description:
To reproduce:
1. Install qemu-user-static and proot
2. Enter some arm chroot using them:
proot -0 -q qemu-arm-static -w / -r chroot/ /bin/bash
3. Run a command which normally takes a short but measurable amount of
time:
cd /usr/share/doc && time grep -R hello
Result:
This is over 100 times slower on 18.04 than it was on 16.04. I am not
sure if proot or qemu is causing the problem, but proot version has
not changed. Also note that on 16.04 I am using the cloud repo version
of qemu, which is newer than 16.04 stock, but still older than 18.04.
Although system 2 is lower spec than system 1, it should not be this
much slower. No other software seems to be affected.
If required I can supply a chroot tarball. It is essentially just a
Debian bootstrap though.
Logs:
System 1: i7-6700 3.4GHz, 32GB RAM, 512GB Crucial MX100 SSD, Ubuntu 16.04
qemu-arm version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.4~cloud0)
proot 5.1.0
al@al-desktop:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-desktop:/# cd /usr/share/doc
root@al-desktop:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m0.066s
user 0m0.040s
sys 0m0.008s
System 2: i5-5300U 2.30GHz, 8GB RAM, 256GB Crucial MX300 SSD, Ubuntu 18.04
qemu-arm version 2.11.1(Debian 1:2.11+dfsg-1ubuntu4)
proot 5.1.0
al@al-thinkpad:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-thinkpad:/# cd /usr/share/doc
root@al-thinkpad:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m24.176s
user 0m0.366s
sys 0m11.352s
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qemu (not installed)
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 19 07:13:25 2018
InstallationDate: Installed on 2018-03-18 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180318)
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1756807/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot
[not found] <152144414128.31022.3971379528979064267.malonedeb@wampee.canonical.com>
2018-03-19 14:18 ` [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot ChristianEhrhardt
@ 2018-03-20 8:17 ` Alistair Buxton
2018-03-20 8:35 ` ChristianEhrhardt
2 siblings, 0 replies; 3+ messages in thread
From: Alistair Buxton @ 2018-03-20 8:17 UTC (permalink / raw)
To: qemu-devel
I just tested the patch from
https://bugs.launchpad.net/qemu/+bug/1740219 and it fixes the problem
for me. Specifically I only tried the final patch of the series.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1756807
Title:
performance regression in qemu-user + proot
Status in QEMU:
New
Status in qemu package in Ubuntu:
New
Bug description:
To reproduce:
1. Install qemu-user-static and proot
2. Enter some arm chroot using them:
proot -0 -q qemu-arm-static -w / -r chroot/ /bin/bash
3. Run a command which normally takes a short but measurable amount of
time:
cd /usr/share/doc && time grep -R hello
Result:
This is over 100 times slower on 18.04 than it was on 16.04. I am not
sure if proot or qemu is causing the problem, but proot version has
not changed. Also note that on 16.04 I am using the cloud repo version
of qemu, which is newer than 16.04 stock, but still older than 18.04.
Although system 2 is lower spec than system 1, it should not be this
much slower. No other software seems to be affected.
If required I can supply a chroot tarball. It is essentially just a
Debian bootstrap though.
Logs:
System 1: i7-6700 3.4GHz, 32GB RAM, 512GB Crucial MX100 SSD, Ubuntu 16.04
qemu-arm version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.4~cloud0)
proot 5.1.0
al@al-desktop:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-desktop:/# cd /usr/share/doc
root@al-desktop:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m0.066s
user 0m0.040s
sys 0m0.008s
System 2: i5-5300U 2.30GHz, 8GB RAM, 256GB Crucial MX300 SSD, Ubuntu 18.04
qemu-arm version 2.11.1(Debian 1:2.11+dfsg-1ubuntu4)
proot 5.1.0
al@al-thinkpad:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-thinkpad:/# cd /usr/share/doc
root@al-thinkpad:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m24.176s
user 0m0.366s
sys 0m11.352s
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qemu (not installed)
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 19 07:13:25 2018
InstallationDate: Installed on 2018-03-18 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180318)
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1756807/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot
[not found] <152144414128.31022.3971379528979064267.malonedeb@wampee.canonical.com>
2018-03-19 14:18 ` [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot ChristianEhrhardt
2018-03-20 8:17 ` Alistair Buxton
@ 2018-03-20 8:35 ` ChristianEhrhardt
2 siblings, 0 replies; 3+ messages in thread
From: ChristianEhrhardt @ 2018-03-20 8:35 UTC (permalink / raw)
To: qemu-devel
*** This bug is a duplicate of bug 1740219 ***
https://bugs.launchpad.net/bugs/1740219
Then lets join there and let your update give that thread some new life.
** This bug has been marked a duplicate of bug 1740219
static linux-user ARM emulation has several-second startup time
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1756807
Title:
performance regression in qemu-user + proot
Status in QEMU:
New
Status in qemu package in Ubuntu:
New
Bug description:
To reproduce:
1. Install qemu-user-static and proot
2. Enter some arm chroot using them:
proot -0 -q qemu-arm-static -w / -r chroot/ /bin/bash
3. Run a command which normally takes a short but measurable amount of
time:
cd /usr/share/doc && time grep -R hello
Result:
This is over 100 times slower on 18.04 than it was on 16.04. I am not
sure if proot or qemu is causing the problem, but proot version has
not changed. Also note that on 16.04 I am using the cloud repo version
of qemu, which is newer than 16.04 stock, but still older than 18.04.
Although system 2 is lower spec than system 1, it should not be this
much slower. No other software seems to be affected.
If required I can supply a chroot tarball. It is essentially just a
Debian bootstrap though.
Logs:
System 1: i7-6700 3.4GHz, 32GB RAM, 512GB Crucial MX100 SSD, Ubuntu 16.04
qemu-arm version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.4~cloud0)
proot 5.1.0
al@al-desktop:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-desktop:/# cd /usr/share/doc
root@al-desktop:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m0.066s
user 0m0.040s
sys 0m0.008s
System 2: i5-5300U 2.30GHz, 8GB RAM, 256GB Crucial MX300 SSD, Ubuntu 18.04
qemu-arm version 2.11.1(Debian 1:2.11+dfsg-1ubuntu4)
proot 5.1.0
al@al-thinkpad:~/rpi-ramdisk/raspbian$ proot -0 -q qemu-arm-static -w / -r root/ /bin/bash
root@al-thinkpad:/# cd /usr/share/doc
root@al-thinkpad:/usr/share/doc# time grep -R hello
dash/copyright:Debian GNU/Linux hello source package as the file COPYING. If not,
real 0m24.176s
user 0m0.366s
sys 0m11.352s
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qemu (not installed)
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 19 07:13:25 2018
InstallationDate: Installed on 2018-03-18 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180318)
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1756807/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-20 8:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <152144414128.31022.3971379528979064267.malonedeb@wampee.canonical.com>
2018-03-19 14:18 ` [Qemu-devel] [Bug 1756807] Re: performance regression in qemu-user + proot ChristianEhrhardt
2018-03-20 8:17 ` Alistair Buxton
2018-03-20 8:35 ` ChristianEhrhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.