HelloZeroNet / HelloZeroNet/ZeroNet

Allow Zeronet python to use multiple CPU threads?

Offen
#2,312 27 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
18.8k
Forks
2.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This is issue especially on zeronet proxies or when simply one is hosting many sites. You can see the zeronet is maxing out the CPU thread and leaves rest CPU threads unused.. I experienced this on all Linux distributions on which i tried to setup zeronet with [bigger number of zites](http://127.0.0.1:43110/1HMLvnRWViMnuvZc5LK4Dm86sZNcSH1jdh/?Topic:1553085871_1L4dZcDF2maSKHDy788yhxpYnBWnXadUtS/3212+zeronet+sites) and i think it may be lagging my Windows zeronet too. [Here is](http://127.0.0.1:43110/1TaLkFrMwvbNsooF4ioKAY9EuxTBTjipT/?Topic:1565037100_1L4dZcDF2maSKHDy788yhxpYnBWnXadUtS#comment_92_1EAD2zXkzgJf6M7xQ4jG5FHCxUTez9NJJ4) what largest zeronet proxy maintainer (d14n@) says about this.

Can ZeroNet be made to utilize more CPU threads?

https://stackoverflow.com/questions/4496680/python-threads-all-executing-on-a-single-core
https://stackoverflow.com/questions/203912/does-python-support-multiprocessor-multicore-programming
https://wiki.python.org/moin/GlobalInterpreterLock
https://docs.python.org/3/library/multiprocessing.html

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.