On 09/07/2011 01:48 AM, Martin Dengler wrote: > On Tue, Sep 06, 2011 at 07:54:17PM +0100, Gordan Bobic wrote: >> On 09/06/2011 06:53 PM, Mark Wielaard wrote: >>> On Tue, Sep 06, 2011 at 07:22:37PM +0200, Jan Kratochvil wrote: >>>> On Tue, 06 Sep 2011 19:15:45 +0200, Kevin Fenzi wrote: >>>>> Personally, I would consider prelink a 'ok, we have everything working >>>>> now, and we want to look at making it faster' instead of enabling it >>>>> before everything is working or building. >>>> >>>> I agree That makes sense (although I do not think the prelink issues will be >>>> ARM specific and they are already resolved on other arches; I may be wrong). >>> >>> There could be ARM specific bugs. [...] having the prelink >>> package available on ARM would at least help us all test and make >>> sure prelink works as intended. So please do include the package, >>> if only so people can do some measurements to check whether the >>> startup speedup is "just" 10% or even up to 50% on their machines. >> >> I agree on the dependency and testing part, but I think 10% is >> optimistic. > > I will soon have a few different ARM machines that I can do testing > on. Please let us know[1] your test suite if you want me to try to > substantiate your pessimism. > > Here is the best reason I've heard for prelink on today's standard, > memory-constrained ARM device: > > http://lists.laptop.org/pipermail/devel/2011-May/032011.html > > Please keep at least the option to enable prelinking in Fedora, > especially before anyone has any performance numbers. > >> Gordan > > Martin > > 1. A wiki page about prelink on ARM would probably be even better than > a mailing list post. I will start one if nobody beats me to it. I ran a little experiment with and without prelink using ps_mem.py from http://www.pixelbeat.org/scripts/ps_mem.py I booted up the fc13 arm machine and logged in with two terminal windows up and ran ps_mem.py saving the result into a file. The no_prelink_mem.log is the output without prelink and prelink_mem.log is the output after a prelink and reboot. Savings is about 2.7% (107.6MB vs 110.6MB) of the RAM in this trivial case. Generally, see the amount of private memory required for individual executables reduced for the prelinked versions. There were a some that had higher private memory use (bluetoothd, dbus-daemon, and udevd), but that might be more of a result of the quick and dirty benchmarking. -Will -Will
Private + Shared = RAM used Program 104.0 KiB + 22.0 KiB = 126.0 KiB gnome-pty-helper 140.0 KiB + 40.0 KiB = 180.0 KiB hald-addon-generic-backlight 156.0 KiB + 28.0 KiB = 184.0 KiB atd 148.0 KiB + 41.0 KiB = 189.0 KiB hald-addon-rfkill-killswitch 160.0 KiB + 43.0 KiB = 203.0 KiB hald-addon-input 172.0 KiB + 35.5 KiB = 207.5 KiB hald-runner 184.0 KiB + 30.0 KiB = 214.0 KiB gam_server 216.0 KiB + 40.5 KiB = 256.5 KiB rtkit-daemon 236.0 KiB + 33.0 KiB = 269.0 KiB rpc.idmapd 156.0 KiB + 137.5 KiB = 293.5 KiB sh 244.0 KiB + 68.5 KiB = 312.5 KiB rpcbind 288.0 KiB + 63.5 KiB = 351.5 KiB xfconfd 300.0 KiB + 85.0 KiB = 385.0 KiB mingetty (5) 312.0 KiB + 76.5 KiB = 388.5 KiB rpc.statd 356.0 KiB + 41.5 KiB = 397.5 KiB ssh-agent 272.0 KiB + 127.0 KiB = 399.0 KiB imsettings-xfce-helper 316.0 KiB + 88.5 KiB = 404.5 KiB gvfsd 332.0 KiB + 75.0 KiB = 407.0 KiB gdm-binary 288.0 KiB + 123.0 KiB = 411.0 KiB gconf-im-settings-daemon 432.0 KiB + 40.5 KiB = 472.5 KiB init 424.0 KiB + 77.0 KiB = 501.0 KiB dbus-launch (2) 452.0 KiB + 53.0 KiB = 505.0 KiB bluetoothd 548.0 KiB + 42.0 KiB = 590.0 KiB rsyslogd 600.0 KiB + 27.5 KiB = 627.5 KiB dhclient 596.0 KiB + 33.0 KiB = 629.0 KiB crond 444.0 KiB + 235.0 KiB = 679.0 KiB avahi-daemon (2) 540.0 KiB + 140.5 KiB = 680.5 KiB sudo 628.0 KiB + 93.0 KiB = 721.0 KiB modem-manager 628.0 KiB + 152.0 KiB = 780.0 KiB wpa_supplicant 256.0 KiB + 548.5 KiB = 804.5 KiB udevd (3) 664.0 KiB + 161.5 KiB = 825.5 KiB xfsettingsd 708.0 KiB + 143.0 KiB = 851.0 KiB upowerd 648.0 KiB + 228.0 KiB = 876.0 KiB im-settings-daemon 884.0 KiB + 36.0 KiB = 920.0 KiB pcscd 704.0 KiB + 232.5 KiB = 936.5 KiB xfce4-notifyd 852.0 KiB + 121.5 KiB = 973.5 KiB gconfd-2 912.0 KiB + 86.5 KiB = 998.5 KiB xscreensaver 788.0 KiB + 220.5 KiB = 1.0 MiB gdm-simple-slave 940.0 KiB + 173.5 KiB = 1.1 MiB console-kit-daemon 960.0 KiB + 208.5 KiB = 1.1 MiB polkitd 1.0 MiB + 127.5 KiB = 1.1 MiB gnome-keyring-daemon 944.0 KiB + 246.5 KiB = 1.2 MiB gdm-session-worker 848.0 KiB + 434.5 KiB = 1.3 MiB abrt-applet 968.0 KiB + 335.0 KiB = 1.3 MiB cupsd 1.0 MiB + 330.5 KiB = 1.3 MiB Thunar 1.0 MiB + 319.0 KiB = 1.3 MiB dbus-daemon (2) 1.0 MiB + 474.5 KiB = 1.4 MiB packagekitd 1.1 MiB + 352.0 KiB = 1.5 MiB xfce4-session 1.2 MiB + 316.0 KiB = 1.5 MiB xfce4-settings-helper 1.0 MiB + 640.5 KiB = 1.6 MiB bash (3) 1.3 MiB + 321.0 KiB = 1.7 MiB NetworkManager 1.9 MiB + 69.5 KiB = 1.9 MiB hald 1.6 MiB + 433.0 KiB = 2.0 MiB xfce4-power-manager 1.7 MiB + 548.5 KiB = 2.2 MiB bluetooth-applet 1.1 MiB + 1.1 MiB = 2.2 MiB sshd (3) 2.0 MiB + 349.5 KiB = 2.3 MiB sendmail.sendmail (2) 1.5 MiB + 883.5 KiB = 2.3 MiB xfwm4 2.2 MiB + 492.5 KiB = 2.6 MiB abrtd 2.2 MiB + 803.5 KiB = 3.0 MiB polkit-gnome-authentication-agent-1 (2) 2.1 MiB + 933.0 KiB = 3.0 MiB gpk-update-icon 2.2 MiB + 1.6 MiB = 3.9 MiB xfce4-menu-plugin 2.7 MiB + 1.3 MiB = 4.0 MiB nm-applet 2.7 MiB + 1.4 MiB = 4.0 MiB xfce4-panel 3.3 MiB + 1.0 MiB = 4.3 MiB Terminal 3.5 MiB + 1.8 MiB = 5.3 MiB xfdesktop 9.4 MiB + 1.4 MiB = 10.8 MiB applet.py 18.7 MiB + 1.2 MiB = 19.9 MiB Xorg --------------------------------- 110.6 MiB ================================= Private + Shared = RAM used Program
Private + Shared = RAM used Program 92.0 KiB + 20.5 KiB = 112.5 KiB gnome-pty-helper 124.0 KiB + 38.5 KiB = 162.5 KiB hald-addon-generic-backlight 128.0 KiB + 38.5 KiB = 166.5 KiB hald-addon-rfkill-killswitch 144.0 KiB + 39.5 KiB = 183.5 KiB hald-addon-input 156.0 KiB + 28.0 KiB = 184.0 KiB atd 160.0 KiB + 33.0 KiB = 193.0 KiB hald-runner 184.0 KiB + 28.5 KiB = 212.5 KiB gam_server 196.0 KiB + 41.0 KiB = 237.0 KiB rtkit-daemon 136.0 KiB + 122.0 KiB = 258.0 KiB sh 236.0 KiB + 33.0 KiB = 269.0 KiB rpc.idmapd 220.0 KiB + 108.5 KiB = 328.5 KiB gconf-im-settings-daemon 264.0 KiB + 68.5 KiB = 332.5 KiB rpcbind 272.0 KiB + 61.0 KiB = 333.0 KiB xfconfd 220.0 KiB + 116.5 KiB = 336.5 KiB imsettings-xfce-helper 260.0 KiB + 82.5 KiB = 342.5 KiB mingetty (5) 276.0 KiB + 81.0 KiB = 357.0 KiB gvfsd 312.0 KiB + 76.5 KiB = 388.5 KiB rpc.statd 316.0 KiB + 73.5 KiB = 389.5 KiB gdm-binary 356.0 KiB + 42.5 KiB = 398.5 KiB ssh-agent 408.0 KiB + 41.0 KiB = 449.0 KiB init 392.0 KiB + 73.0 KiB = 465.0 KiB dbus-launch (2) 516.0 KiB + 37.0 KiB = 553.0 KiB rsyslogd 560.0 KiB + 58.0 KiB = 618.0 KiB bluetoothd 600.0 KiB + 29.5 KiB = 629.5 KiB dhclient 596.0 KiB + 34.0 KiB = 630.0 KiB crond 444.0 KiB + 187.0 KiB = 631.0 KiB avahi-daemon (2) 520.0 KiB + 134.5 KiB = 654.5 KiB wpa_supplicant 540.0 KiB + 161.5 KiB = 701.5 KiB sudo 612.0 KiB + 95.5 KiB = 707.5 KiB modem-manager 584.0 KiB + 148.5 KiB = 732.5 KiB xfsettingsd 556.0 KiB + 207.0 KiB = 763.0 KiB im-settings-daemon 604.0 KiB + 181.0 KiB = 785.0 KiB xfce4-notifyd 272.0 KiB + 521.0 KiB = 793.0 KiB udevd (3) 680.0 KiB + 133.5 KiB = 813.5 KiB upowerd 856.0 KiB + 35.0 KiB = 891.0 KiB pcscd 820.0 KiB + 116.0 KiB = 936.0 KiB gconfd-2 856.0 KiB + 92.5 KiB = 948.5 KiB xscreensaver 768.0 KiB + 194.0 KiB = 962.0 KiB gdm-simple-slave 748.0 KiB + 321.5 KiB = 1.0 MiB abrt-applet 908.0 KiB + 164.0 KiB = 1.0 MiB console-kit-daemon 960.0 KiB + 120.5 KiB = 1.1 MiB gnome-keyring-daemon 936.0 KiB + 199.5 KiB = 1.1 MiB polkitd 904.0 KiB + 247.0 KiB = 1.1 MiB gdm-session-worker 900.0 KiB + 282.5 KiB = 1.2 MiB Thunar 888.0 KiB + 423.0 KiB = 1.3 MiB packagekitd 1.0 MiB + 301.0 KiB = 1.3 MiB xfce4-session 980.0 KiB + 354.0 KiB = 1.3 MiB cupsd 1.1 MiB + 264.5 KiB = 1.3 MiB xfce4-settings-helper 1.1 MiB + 319.0 KiB = 1.4 MiB dbus-daemon (2) 924.0 KiB + 635.0 KiB = 1.5 MiB bash (3) 1.3 MiB + 311.0 KiB = 1.6 MiB NetworkManager 1.8 MiB + 67.5 KiB = 1.9 MiB hald 1.5 MiB + 413.0 KiB = 1.9 MiB xfce4-power-manager 1.6 MiB + 508.0 KiB = 2.0 MiB bluetooth-applet 1.4 MiB + 845.5 KiB = 2.2 MiB xfwm4 1.1 MiB + 1.1 MiB = 2.2 MiB sshd (3) 2.0 MiB + 349.5 KiB = 2.3 MiB sendmail.sendmail (2) 2.0 MiB + 473.0 KiB = 2.5 MiB abrtd 1.9 MiB + 861.5 KiB = 2.8 MiB gpk-update-icon 2.1 MiB + 781.5 KiB = 2.8 MiB polkit-gnome-authentication-agent-1 (2) 2.5 MiB + 1.2 MiB = 3.7 MiB nm-applet 2.2 MiB + 1.6 MiB = 3.7 MiB xfce4-menu-plugin 3.3 MiB + 1.0 MiB = 4.3 MiB Terminal 3.2 MiB + 1.4 MiB = 4.6 MiB xfce4-panel 3.4 MiB + 1.8 MiB = 5.2 MiB xfdesktop 9.4 MiB + 1.5 MiB = 10.8 MiB applet.py 18.7 MiB + 1.2 MiB = 19.8 MiB Xorg --------------------------------- 107.6 MiB ================================= Private + Shared = RAM used Program
_______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm