Why can softwares utilize all the resources avaiable to them in system for speedy task completion.

princeoo7

On a Journey called Life :P
Skilled
I was trying to create a usb bootable for W20 iso. now the default program uses 7zip. my system utilization was only 1% to 3 % most. Why ? Why can't 7zip use all the resources it has on the system to complete the task faster ?
 

kvn95ss

Member
Disciple
Are you talking about compressing or extracting?
Usually extracting doesn't require as much resource as compressing. And if you are compressing, make sure you are using the "High" or ultra preset.
 

TheCoolerPlayer

Well-Known Member
Disciple
I was trying to create a usb bootable for W20 iso. now the default program uses 7zip. my system utilization was only 1% to 3 % most. Why ? Why can't 7zip use all the resources it has on the system to complete the task faster ?
If I'm not mistaken, 7zip is single threaded. And in compression/decompression of files on an ssd, the bottleneck is how fast a single cpu core can do the task. So if you have a 128core processor and a quad core processor, and you use a single threaded program, 7zip will still use only one thread due to the nature of how it works (assuming clockspeed and IPC and architecture is the same).
 

nRiTeCh

Well-Known Member
Skilled
7zip was designed keeping in mind only utilization of single core/thread.

You can try setting its priority to real time in task manager before performing any jobs and see if anything improves..
 

booo

BA BA BA BABANANA
Skilled
7zip was designed keeping in mind only utilization of single core/thread.
not designed but the the nature of compression/decompression that it cant be run multithreaded.

OP: os limitations make it difficult/not possible even though system is multi processor.
 

TEUser2K1

Well-Known Member
Adept
LZMA format is the default 7-zip format, supports multi-threading and P4's hyper-threading: https://www.7-zip.org/7z.html


 

saggyN73

Well-Known Member
Recruit
I was trying to create a usb bootable for W20 iso. now the default program uses 7zip. my system utilization was only 1% to 3 % most. Why ? Why can't 7zip use all the resources it has on the system to complete the task faster ?
I think, Extracting/Compressing is File I/O operation which mainly uses your disk performance, CPU is there just to support it. Same task will run faster on SSD/NVMe as compared to HDD, even if you have high-end CPU.