Skip to content

Feature Request: MultiCore Support. #84

@TheeMahn

Description

@TheeMahn

I wrote an application called Keyserver http://os-builder.com/Apps/Apps/all/binary-amd64/ultimate-edition-keyserver-1.0.0_all.deb") Not the newest, I am still writing the software.

if you type:
keyserver --setup threads=32
It will scan the internet looking for the fastest server by ping.
Example: Setting default keyserver: keysnatcher.space | 23
Web Spidering Server: http://keysnatcher.space/sks/
Download 13GB of files: ...
Downloaded: 178 files a total of 13,741,490,176 bytes (12GB) in 0h22m30s.
MD5SUMS the Files.
MD5SUM Time:
Timer: 0h0m21s
I have multiple NVME Drives.
Removing PTree Folder, we will build a new one.
Removing Database, we will build a new one.
Number of CPU Core(s) / threads(s) detected: 32
Launching 32 threads to accelerate the building process, please wait.
Threads Specified as: 32
Beginning build: sks-dump-0001.pgp, Multi-threaded. Please wait...
Once set the cores open up:
Launching thread #31: Loading key(s): sks-dump-0156.pgp (RUNNING INSTANCES: 31 Internal processes: 1)
Merging: sks-dump-0156.pgp, please wait. 32 at a time, actually 31, one core remains with the internal process.

(will launch 32 threads to get things done close to 32 times as fast) I have a AMD 3950X 16 core / 32 thread CPU.

End of it all I get a Ptree Database corruption.
Merging: sks-dump-0174.pgp, please wait
Cleaning Database, please wait.
Fatal error: exception Bdb.DBError("BDB0060 PANIC: fatal region error detected; run recovery")

Single core works and is painfully slow!!!
Downloaded: 178 files a total of 13,741,490,176 bytes (12GB) in 0h0m44s. Using LAN accelerating the building process.
Dual 10 Gigabit Fiber.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions