Pale Moon profile backup tool: only runs in single thread?

For discussions about side projects, potential future projects or helper applications for Pale Moon.
User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1136
Joined: 2020-11-03, 06:47
Location: Philippines

Pale Moon profile backup tool: only runs in single thread?

Post by jobbautista9 » 2026-01-18, 05:40

I've been using this [profile backup tool](http://www.palemoon.org/backuptool.shtml) to quickly backup my 33.9.1 profile before upgrading it to a 34.0.0 prerelease, and it seems to still work well, both backup and restore that is. :thumbup:

I do wonder if the 7zip compression can be modified to use multiple threads instead of a single one though. Compressing a 2 GB profile can take a long time... The 7za.exe included doesn't seem to support multithreading at all. :coffee:
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
RealityRipple
Keeps coming back
Keeps coming back
Posts: 929
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California

Re: Pale Moon profile backup tool: only runs in single thread?

Post by RealityRipple » 2026-01-18, 13:04

I don't think this is going to make sense in this context. If you're compressing multiple large files independently, threading is meaningful. If you're compressing a lot of small files together, the best compression ratio would be achieved by treating all the files as one large data source, thus one thread.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1755
Joined: 2018-06-08, 17:02

Re: Pale Moon profile backup tool: only runs in single thread?

Post by therube » 2026-01-19, 20:05

The 7za.exe included doesn't seem to support multithreading at all.
Probably does not (probably proceeding multithreading by a few years).

C:\out\pmback>7za -version
7-Zip (A) 4.42 Copyright (c) 1999-2006 Igor Pavlov 2006-05-14

(Does that need any update for security reasons?)

---

Have you tried backing up your Profile data (manually) using current 7-zip, using multithreading, to see if there would be any actual (speed) advantage? (Seemingly LZMA2 only supports 1 or 2 threads, & whether 1 or 2 are used depends on the individual data file sizes, & given what one might expect in a Profile, & as pointed out, you're not apt to have large enough files for it even to come into consideration, even with 2 GB total size. You can adjust some parameters to 7-zip to try to force multithreading... but throw current 7-zip at your files & see what you get.)

User avatar
Moonchild
Project founder
Project founder
Posts: 38821
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Pale Moon profile backup tool: only runs in single thread?

Post by Moonchild » 2026-01-19, 23:10

I guess I could make a maintenance update to include a current 7za (there shouldn't be any sec concern -- not like it'll be used for anything other than profile data and own-packed archives). Does mean I have to get Neobook set up properly again to compile the package and re-sign it.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite