You are not logged in.

#1 2016-02-09 10:09:28

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

[GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

Heyho, my laptop has 8 CPU's but when extracting smth on GNOME with File-Roller, only 1 CPU is being used?

Is there any way to enable the usage of multithread with file-roller?


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#2 2016-02-09 13:40:24

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

But is your disk being used fully? If yes, then using multiple cores won't help. Use something like iotop to check your disk speed when using file-roller.

Offline

#3 2016-02-09 17:03:42

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

x33a wrote:

But is your disk being used fully? If yes, then using multiple cores won't help. Use something like iotop to check your disk speed when using file-roller.

My SSD has about 500MB/s read and write so there is enough room for more CPU usage yikes

I checked, my SSD isn't fully used/stressed when unpacking.


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#4 2016-02-09 17:17:30

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

Can you confirm that extracting the same archives on the command line utilizes multithreading? For example, xz doesn't support threaded decompression. I don't know about other archive types or tools.

In any case, this is probably an upstream issue.

Last edited by alphaniner (2016-02-09 17:19:14)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2016-02-09 20:23:55

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

alphaniner wrote:

Can you confirm that extracting the same archives on the command line utilizes multithreading? For example, xz doesn't support threaded decompression. I don't know about other archive types or tools.

In any case, this is probably an upstream issue.

Oh boy why is this so complicated sad I didnt even know that apps without proper multi-thread support still exist.

Any suggestions on how to "confirm" this in the best way? E.g. which decomoressor/command options should I use for comparison?


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#6 2016-02-09 20:58:01

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

The quick'n'dirty test would be to decompress various archive types from the command line with their default decompressor. WRT file-roller, you may need to dig into the documentation and/or sources to see how it actually handles various archive types. Googling "file roller multithread", "archive multithread support", or such might be prudent.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#7 2016-02-10 18:41:56

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

Well I just did a comparison between Windows and Arch:

Even though windows uses more CPU's it is not faster (actually even slower by 10seconds on a 17GB .rar file).

So it seems like my SSD is really at its limits when extracting (reading/writing) to/on the same SSD and it's just multiple CPU's at average speed vs one CPU at maximum speed.


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#8 2023-04-20 15:58:46

drdru
Member
Registered: 2016-07-19
Posts: 4

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

alphaniner wrote:

Can you confirm that extracting the same archives on the command line utilizes multithreading? For example, xz doesn't support threaded decompression. I don't know about other archive types or tools.

In any case, this is probably an upstream issue.


What about:

# if user wants to use more than 4 cpu threads/cores just increase the number
# compress "folder" into archive.tar.xz
XZ_DEFAULTS="--threads=4"; export XZ_DEFAULTS; tar fcvJ /path/to/backup/archive.tar.xz /compress/this/folder

# de compress archive.tar.xz into current directory
XZ_DEFAULTS="--threads=4"; export XZ_DEFAULTS; tar fxvJ /path/to/backup/archive.tar.xz

Offline

#9 2023-04-20 16:52:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: [GNOME] File-Roller - Enable multithread (more than 1 CPU) ?

Note that you are responding to a 7 year old thread. Very recently xz has gotten support for multithreaded decompression indeed but definitely not at the time that this thread was made.

Please don^t necrobump: https://wiki.archlinux.org/title/Genera … bumping%22

Closing this old thread.

Offline

Board footer

Powered by FluxBB