more cores, slower pyBM

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 17:14 [raw]

on a server with many more cores, pyBM is not faster than on the machine with 2 cores and little RAM. the --test mode should be made --server mode not with the 30 seconds limit.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 21:53 [raw]

use -d dude

BM-oqm9QKiPU7uNzGBc1kfqsqsq4XrLk3NnJ
Oct 27 22:42 [raw]

pyBM is written in Python which only uses a single thread at a time. only PoW benefits from multiple cores when the C library is used

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 22:43 [raw]

--daemon is worse , man, course I tried that already

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 22:55 [raw]

cannot be quite accurate. there are several threads. maybe they interlock though. not too efficient of parallel tasking.

BM-oqm9QKiPU7uNzGBc1kfqsqsq4XrLk3NnJ
Oct 27 23:27 [raw]

https://wiki.python.org/moin/GlobalInterpreterLock In CPython, the global interpreter lock, or GIL, is a mutex that protects access to Python objects, preventing multiple threads from executing Python bytecodes at once. This lock is necessary mainly because CPython's memory management is not thread-safe. (However, since the GIL exists, other features have grown to depend on the guarantees that it enforces.) The GIL is controversial because it prevents multithreaded CPython programs from taking full advantage of multiprocessor systems in certain situations. Note that potentially blocking or long-running operations, such as I/O, image processing, and NumPy number crunching, happen outside the GIL. Therefore it is only in multithreaded programs that spend a lot of time inside the GIL, interpreting CPython bytecode, that the GIL becomes a bottleneck. However the GIL can degrade performance even when it is not a bottleneck: The system call overhead is significant, especially on multicore hardware. Two threads calling a function may take twice as much time as a single thread calling the function twice. The GIL can cause I/O-bound threads to be scheduled ahead of CPU-bound threads. And it prevents signals from being delivered.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 23:35 [raw]

I wonder if pyBM is bottlenecked or not. I guess it is.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 27 23:39 [raw]

I wonder if pyBM is bottlenecked or not. I guess it is.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 28 08:01 [raw]

What exactly is slower? The processing speed of objects? The network bandwidth? The number of connections? The API? The PoW? Does something lag? Just to make it clear, there are known bottlenecks which are being researched and addressed, but saying it's "slower" or faster" is useless. Peter Surda Bitmessage core developer

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 28 09:14 [raw]

Well I was referring to the websurfing-felt-speed. on a 2-core responsiveness in Firfox was better. pow may be better though on 32-core machine

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 28 09:17 [raw]

I wonder whether bitboard should maybe cache the API data , API speed may be a lil slow for surfing...

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 28 10:57 [raw]

The GIL is bottlenecked or not a bottlenecked or not a mutex that it enforces. The global interpreter lock is necessary mainly because it is. The GIL is necessary mainly because it is controversial because it enforces. This lock, is not a function may take twice. I wonder if pybm is necessary mainly because it enforces; may take twice as I wonder if pybm is bottlenecked or GIL is a function GIL is: bottlenecked or GIL is bottlenecked or GIL, is bottlenecked or GIL can degrade performance even when it is a mutex that it enforces.

BM-oqm9QKiPU7uNzGBc1kfqsqsq4XrLk3NnJ
Oct 28 11:54 [raw]

It does cache API data

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Oct 29 00:14 [raw]

>>5C897888C what does cache API data?

BM-oqm9QKiPU7uNzGBc1kfqsqsq4XrLk3NnJ
Oct 29 01:36 [raw]

bitboard

[chan] bitmessage
BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY

Subject Last Count
claws-mail + pyBM + Gtk3 - minitool Feb 19 21:05 7
claws-mail + pyBM + Gtk3. Feb 19 19:58 8
End of support for Windows XP for binary builds Feb 19 10:13 21
None of this is connectd Feb 17 23:58 1
Unextreme and unrelated fish pie Feb 17 23:53 1
Stalin - the greatest guy ever Feb 17 17:56 2
UK Column News - 22nd February 2019 Feb 17 17:30 1
UK Column News - February 22 2019 Feb 17 17:29 1
UK Column News - 21 February 2019 Feb 17 17:27 1
UK Column News - 21st February 2019 Feb 17 17:22 1
UK Column News - February 21 2019 Feb 17 17:21 1
UK Column News - 20th February 2019 Feb 17 17:18 1
UK Column News - February 20 2019 Feb 17 17:16 1
UK Column News - 20 February 2019 Feb 17 17:15 1
UK Column News - February 19th 2019 Feb 17 17:14 1
UK Column News - 18 February 2019 Feb 17 17:10 1
UK Column News 19th - February 2019 Feb 17 17:09 1
UK Column News 19th February 2019 Feb 17 17:08 1
UK Column News - 18th February 2019 Feb 17 17:07 1
Stalin - the greatest guy ever Feb 17 15:43 1
cool BM things in the making Feb 17 12:33 9
NEW python3.7 -- this neat lil editor will kill EMACS for good ! new native dialog feature Feb 17 01:53 2
how to use mailing list...? Feb 17 01:51 4
Security Nightmares: hidden WebTorrent client in web advertisements to provoke copyright cease-and-desist fines Feb 16 21:23 1
End of support for Windows XP for binary builds -- ISO of a live distro Feb 16 08:01 1
UK Column News - 11 February 2019 Feb 10 11:07 5
come on guys, leak some more shitwarez Feb 10 07:28 14
DJ Bernstein sightings on Bitmessage Feb 10 06:57 3
UK Column News - February 12 2019 Feb 9 21:19 1
UK Column News - February 12th 2019 Feb 9 21:19 1
UK Column News - 12th February 2019 Feb 9 21:16 1
UK Column News - 11th February 2019 Feb 9 21:14 1
UK Column News - 9th February 2019 Feb 9 21:13 1
UK Column News - February 2019 7th Feb 7 07:45 2
UK Column News - 7 2019 February Feb 7 07:42 1
UK Column News - 2019 February 7th Feb 7 07:40 2
UK Column News - February 7th 2019 Feb 7 07:37 2
UK Column News - 2019 February 7 Feb 7 07:35 2
UK Column News - February 7 2019 Feb 7 07:29 1
UK Column News - 7th February 2019 Feb 7 07:26 3
UK Column News - 7 February 2019 Feb 7 07:25 1
UK Column News - 6th February 2019 Feb 2 15:57 3
UK Column News - 5th February 2019 Feb 2 15:57 4
UK Column News - 4th February 2019 Feb 2 15:57 5
what does dandelion: 90 do? Feb 1 11:42 7
stop test penis, please. it's OK Jan 30 09:39 4
Call to murder Angela Merkel, Emmanuel Macron, Petro Poroshenko, Jens Stoltenberg etc. Jan 27 21:49 1
dammit ! dang nigger pranked Dr. David Duke Jan 27 19:37 2
djurlite enacting Jan 27 00:00 1
Reversed shot upper value Jan 26 23:59 1
Normal drilling mud circulation buffer gas Jan 26 22:18 1
Power monitor homotopy boundary Jan 26 21:25 1
Pelerine point subtract counter Jan 26 21:25 1
Teeth misalignment country setting Jan 26 21:24 1
Crankous jam radio station Jan 26 21:23 1
extrusion nozzle methanol treatment Jan 26 21:23 1
Older the hyperarial Jan 26 21:23 1
Defects survey positive muon Jan 26 21:23 1
Townships hearth gas Jan 26 21:23 1
Transversal equalizer on pentalpha Jan 26 21:18 1
Salmoncoloured obtain circuit Jan 26 21:18 1
serializer firm support Jan 26 21:18 1
depredation for petroleum series Jan 26 21:11 1
Plotting camera the reeving system Jan 26 21:06 1
Conventional weapons for jack bar assembly Jan 26 20:59 1
operationally ready well sinking Jan 26 20:59 1
Tympan franzise Jan 26 20:58 1
Equipment status chart with frequency sounding Jan 26 20:58 1
Difference construction the alette Jan 26 20:52 1
Vitality rotten Jan 26 20:51 1
Multiloquence progressive fracture Jan 26 20:50 1
automatic backspace assemble editing continuous decomposition Jan 26 20:47 1
Summer oil level platy Jan 26 20:43 1
Approximative limit paramour Jan 26 20:43 1
Card file beddable Jan 26 20:38 1
Damage accumulation then hot leveling Jan 26 20:38 1
Frequency analysis method headless resistor Jan 26 20:38 1
Roundsman the outweigh a disadvantage Jan 26 20:38 1
Trustor with grounded sea ice Jan 26 20:38 1
Military law forest shelter belt Jan 26 20:38 1
tunnel cathode bring in evidence Jan 26 20:27 1
Vacuum melted alloy job control program Jan 26 20:19 1
Duplicate insulator string nuclear magnetic resonance log Jan 26 20:19 1
Linear parameter the underinvoicing Jan 26 20:19 1
Namesake oxygenated oil Jan 26 20:19 1
Echo chamber positive function Jan 26 20:19 1
Plasma belt amoebosis Jan 26 20:18 1
Film cartridge resign management Jan 26 20:18 1
Local optimization the equicontinuous group Jan 26 20:18 1
Approximate root hereditaments Jan 26 20:11 1
Peppering loop body Jan 26 20:05 1
Winged hollow reamer limiting formation factor Jan 26 20:01 1
Bottom cut on activated fins Jan 26 19:59 1
Paradox of thrift impenetrable Jan 26 19:58 1
delay decision fluidized bed Jan 26 19:58 1
Wall bushing hygienic enamel Jan 26 19:57 1
Wellmannered the mesic Jan 26 19:56 1
Incommunicative the waste rock Jan 26 19:56 1
Shopwindow marlstone limestone Jan 26 19:55 1
Rotary bed the noncyclic trajectory Jan 26 19:55 1