feature/multi-threading #2

Merged
ProfessionalUwU merged 10 commits from feature/multi-threading into main 2023-06-29 02:15:11 +02:00

Multi-threading

Speed

While testing with a variety of workloads we found that the program was up to 3 times faster than before.
It took about 6 minutes to checksum 700Gb of varying data. Which is just impressive.

CPU load and drive speed

Chksum is now fast enough that your hardware will most certainly be the bottleneck. We maxes out our 2.5Gbs SSD no problem. It also used about 50-60% of the CPU.
If the SSD was faster we would probably hit CPU bottleneck.

Scaling

With this update the space and time complexity of the program is now linear with file count.
Chksum will try to checksum all files at the same time so be careful with how many files you have.
Memory also grows with how many files are put into the Dictionary.

# Multi-threading ## Speed While testing with a variety of workloads we found that the program was up to 3 times faster than before. It took about 6 minutes to checksum 700Gb of varying data. Which is just impressive. ## CPU load and drive speed Chksum is now fast enough that your hardware will most certainly be the bottleneck. We maxes out our 2.5Gbs SSD no problem. It also used about 50-60% of the CPU. If the SSD was faster we would probably hit CPU bottleneck. ## Scaling With this update the space and time complexity of the program is now linear with file count. Chksum will try to checksum all files at the same time so be careful with how many files you have. Memory also grows with how many files are put into the Dictionary.
ProfessionalUwU added the
Kind/Enhancement
label 2023-06-29 02:14:21 +02:00
AustrianToast was assigned by ProfessionalUwU 2023-06-29 02:14:21 +02:00
ProfessionalUwU self-assigned this 2023-06-29 02:14:21 +02:00
ProfessionalUwU added 10 commits 2023-06-29 02:14:22 +02:00
ProfessionalUwU requested review from AustrianToast 2023-06-29 02:14:43 +02:00
ProfessionalUwU removed review request for AustrianToast 2023-06-29 02:15:00 +02:00
ProfessionalUwU merged commit 1ee5114dab into main 2023-06-29 02:15:11 +02:00
ProfessionalUwU deleted branch feature/multi-threading 2023-06-29 02:15:11 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ProfessionalUwU/chksum#2
No description provided.