SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-09 02:14:29

Guest
Guest

how to force tazpkg & tazusb to use two CPU ?

speed is important !

#2 2011-09-09 15:40:45

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: how to force tazpkg & tazusb to use two CPU ?

If you mean tazpkgbox (the graphical version of tazpkg) then rather use the command line version or switch to cooking and use tazpanel instead. If you mean tazpkg grabbing packages, that has nothing to do with your CPUs and uses your connection instead - slow connection, slow package downloads. If you mean the tazpkg packing and unpacking, then it's ALREADY using BOTH CPUs with lzma compression, but other factors like cache/disk space or available RAM might also play a major part. This is especially true with packages bigger than 50 or so MB.

You see why it helps to clarify where exactly your issue is?

Offline

#3 2011-09-10 18:09:43

Guest
Guest

Re: how to force tazpkg & tazusb to use two CPU ?

Thanks Trixar_za

tazusb use only one cpu

but peaZip use the both cpu !

look to images :

[attachment=3193,184]

#4 2011-09-10 18:47:40

Guest
Guest

Re: how to force tazpkg & tazusb to use two CPU ?

and this for tazpkg

== i am sorry for make you wait smile =

[attachment=3194,186]

#5 2011-09-11 12:26:02

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: how to force tazpkg & tazusb to use two CPU ?

Hmmm, seems gzip, bzip2 and lzma all use single threaded compression routines. This however has no effect on decompression speeds, so unless you use tazpkg pack or repack with big files alot, this shouldn't be a problem. If you really want it to go faster, then hack the scripts to use something like pgzip or plmza, but the improvement in speed for lmza is marginal since it splits and combines a tar.lzma file.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.025 seconds, 9 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]