@ 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
Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram
$34.95
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
NEW OLOy 16GB 2x8GB KIT DDR4-3000 PC4-24000 Desktop Gaming RAM MD4U0830160BB1ST
$19.99
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$10.00
Lot of 2 4GB DDR4 Memory PC4-3200 SODIMM Laptop RAM 3200MHz
$9.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
RAMAXEL 16 GB ( 4 GB x 4 sticks ) DDR3L-1600 PC3L-12800U 12800 Desktop RAM - HVD
$11.42
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$71.93
256GB Kit (8 x 32GB) PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM
$255.92