@ Werner
PCLinuxOS has another work-around at post #15 of this thread:
http://www.pclinuxos.com/forum/index...,95512.15.html
Cheers,
Hi Klaus,
Your steps are working great, thank you very much !
(I should stop using synaptic and better start using apt-get...)
Best Regards,
Gilles
@ Werner
PCLinuxOS has another work-around at post #15 of this thread:
http://www.pclinuxos.com/forum/index...,95512.15.html
Cheers,
@ Werner
There is also an lxmenu (empty menu) work-around on the LXDE wiki that may interest you at:
http://wiki.lxde.org/en/LXPanel#gxine_menu_icon_fix
Hello,
Does anyone know why compiling a source tree as "root" is much slower than as the default "Knoppix" user ?
(by just using "su" before starting the make). Top indicates a much higher percentage of system call (%sy)
with root than Knoppix and as such there is not much time left for the user apps (%us). Any idea how to fix it ?
(I know it is usually a bad idea to compile as root anyway but in some cases root is required...)
Thanks,
Gilles
Personally I am not so convinced that compiling things as root will be slower, unless the makefiles do additional things when detecting compiling as root verses normal users. In any case, if one compiles something repeatedly, the speed can be improved by installing/configuring 'ccache'. Therefore if compile as root is indeed slower, perhaps the cache has not been setup for 'root' ? It's easy to verify that, just check if there is a .ccache folder for /home/knoppix. If the folder exists, meaning likely you have been using ccache without realizing it.
Hi kl522,
I do clear ccache: "ccache -C; ccache -z" and do a "make distclean" before the "make"
to have a fair comparison between the root and knoppix user. It is actually a cross-compile
but I don't think that it makes any difference...
Best Regards,
Gilles
The ccache may not support your cross-compile, you have to check if the "non-ccache" compiler binary name is one of those having the same name as one of those in /usr/lib/ccache. If the binary you used for cross-compile is not any of those, then too bad, debian ccache package does not support your cross-compile.
Hi Kl522,
I do run my test both with and without ccache. As expected, running twice or more with ccache provides some speed improvement.
But at this point I do not care much about ccache. The problem that I try to understand is the time difference when compiling as root
or as the knoppix user. Or in other words, in both cases (with or without ccache) running as root is much slower than with the user Knoppix.
Thanks for your help. Best Regards,
Gilles
Hi Kl522,
After trying to reproduce the problem with some sample code and a toolchain publicly available
I found out that the problem is linked to the Code Sourcery ARM toolchain (full license).
Or in other words the problem disappear when the lite version is used. I did post a support
request with Code Sourcery as this problem is most likely not linked to Knoppix at all.
Thanks for your help, case closed.
Best Regards,
Gilles
Intel Xeon E-2478 CPU 8 Core 16 Thread LGA1700 2.8GHz~ 5.2GHz Server Processor
$889.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
HP EliteDesk 800 G4 Micro Intel Core i5-8500T 2.1GHz 8GB RAM 256GB SSD W11P WIFI
$120.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro
$249.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98