@ 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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
Asus PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield
$64.98
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$46.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested
$55.00
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$121.50
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99