Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130403-2/ Git rev: fe336b149552b1f4f24d979c40302653298b98cc I found on qemumips the smart command run slow than qemuarm and qemuppc. Especially for update and install command, the time is about 4 times. Here are some time data output: On qemumips: ############# root@qemumips:~# time smart Usage: smart command [options] [arguments] ...[snip]... real 0m2.615s user 0m2.410s sys 0m0.150s root@qemumips:~# time smart update --help Usage: smart update [options] [channelalias] ... ...[snip]... real 0m4.537s user 0m4.270s sys 0m0.240s root@qemumips:~# time smart query busybox Updating cache... ...[snip]... real 0m39.063s user 0m35.760s sys 0m1.100s root@qemumips:~# time smart channel --add myrpmmd type=rpm-md baseurl=http://192.168.7.1/rpmrepo/qemumips -y real 0m6.783s user 0m6.280s sys 0m0.380s root@qemumips:~# time smart update Loading cache... Updating cache... ...[snip]... Channels have 9438 new packages. Saving cache... real 17m17.422s user 17m3.950s sys 0m7.130s root@qemumips:~# time smart query groff Loading cache... Updating cache... ...[snip]... groff-1.20.1-r2@mips32 real 1m42.839s user 1m41.070s sys 0m1.410s root@qemumips:~# time smart install groff -y Loading cache... Updating cache... ...[snip]... real 2m26.322s user 2m20.050s sys 0m3.600s root@qemumips:~# ############# On qemuarm: ############## root@qemuarm:~# time smart Usage: smart command [options] [arguments] ...[snip]... real 0m1.379s user 0m1.020s sys 0m0.280s root@qemuarm:~# time smart update --help Usage: smart update [options] [channelalias] ... ...[snip]... real 0m1.774s user 0m1.360s sys 0m0.380s root@qemuarm:~# time smart query busybox Updating cache... ...[snip]... real 0m10.126s user 0m7.820s sys 0m1.360s root@qemuarm:~# time smart channel --add myrpmmd type=rpm-md baseurl=http://192.168.7.1/rpmrepo/qemuarm -y real 0m2.503s user 0m1.850s sys 0m0.620s root@qemuarm:~# time smart update Loading cache... Updating cache... ...[snip]... Channels have 9453 new packages. Saving cache... real 4m3.461s user 3m49.290s sys 0m10.210s root@qemuarm:~# time smart query groff Loading cache... Updating cache... ...[snip]... groff-1.20.1-r2@armv5te real 0m22.119s user 0m20.060s sys 0m1.980s root@qemuarm:~# time smart install groff -y Loading cache... Updating cache... ...[snip]... real 0m34.861s user 0m28.300s sys 0m4.660s root@qemuarm:~# ##################
The question is, is this poor performance only with smart or with other applications as well?
Please retest this after the recent kernel changes for the release, it could well be better now qemumips is working properly.
The problem still exists in 20130411 build Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130411-3 poky dylan:dab237bc6a7679dfeaa981c14736aedc7b04ecb9 qemumips sato log: smart add channel: Alias: 05-14-27 Type: rpm-md Base URL: http://192.168.7.1/rpmrepo/qemumips Include this channel? (y/N): y real 0m33.734s user 0m13.460s sys 0m1.330s smart update: real 18m36.711s user 17m41.250s sys 0m10.210s smart install mc real 3m23.976s user 2m24.560s sys 0m9.790s qemumips sato_sdk log: smart add channel: Alias: 05-41-05 Type: rpm-md Base URL: http://192.168.7.1/rpmrepo/qemumips Include this channel? (y/N): y real 0m39.662s user 0m13.250s sys 0m1.290s smart update: real 15m56.747s user 15m24.450s sys 0m8.980s smart install mc real 3m37.884s user 2m49.870s sys 0m10.600s Comparing to qemuarm: add rpm-md channel: Base URL: http://192.168.7.1/rpmrepo/qemuarm Include this channel? (y/N): y real 0m12.767s user 0m4.830s sys 0m1.290s smart update: real 4m3.139s user 3m38.050s sys 0m10.350s smart install mc: real 1m25.840s user 0m38.280s sys 0m11.360s
I've looked at this again finally; everything I can determine suggests that this is simply about the speed of emulation of qemumips rather than anything specific to do with smart. I don't think there's much I can do about this, therefore I'm marking this as WONTFIX.