JohnnyFFM / XPlotter

CPU plotter for BURST, added POC2
GNU General Public License v3.0
8 stars 5 forks source link

Some features from Xplotter v.1.1 have been lost on the way to v.1.21 #1

Closed JohnnyFFM closed 6 years ago

JohnnyFFM commented 6 years ago

Seems like Blago lost the code for v.1.1, so I had to start from v.1.0. This means that some new feature of v.1.1 have been lost. So far I've only found two differences between v.1.0 and v.1.1: (1) AVX2 was not building properly in v.1.0 (2) Stats when plotting look slightly different (percentage progress vs. absolute progress in nonces, added MB/s stats for the write)

I've fixed (1) for v.1.21, but (2) is still outstanding (not a big thing anyway). If there is anything else missing please let me know.

Johnny

Blagodarenko commented 6 years ago

Hi! Thank you for enhancement the project! At now i have not the time for it. I tried to restore v1.1, but need to recheck it, sources in additions. XPlotter1.1.zip

JohnnyFFM commented 6 years ago

Many thanks Blago, will have a look!

Blagodarenko commented 6 years ago

please, add optimizations, see "// optimization: avx1_mshabal_init(mx, 256)" and "// optimization: reduced 8064 assignments" in Nonce.cpp - 10-15% faster

ohager commented 6 years ago

@Blagodarenko Yes, that's what I was looking for - the optimizations!

I just updated SPlotter to PoC2 --- there we have consistent outputs, which makes it much easier to use with burst-autoplotter...while migrating to SPlotter I struggled with the performance differences (see below)

Nevertheless, it makes no sense to maintain two similar projects. We should think about discontinue one of both. I personally would vote for the SPlotter fork as it offers additional features like moving the plots, and it sligthly better outputs. Or, we could re-merge the fork into XPlotter, as this is the better known plotter instance. What are your opinions, @JohnnyFFM @Blagodarenko ?



XPlotter v1.1 for BURST
                programmers: Blago, Cerr Janror, DCCT

Checking directory...
Drive C:\ info:
        Name: OS
        File system: NTFS
        Serial Number: 4194836168
        FILE_NAMED_STREAMS: yes
        Bytes per Sector: 512
        Sectors per Cluster: 8
File: C:\Users\Dextra\AppData\Roaming\npm\node_modules\burst-autoplotter\exe\1234567890123456789_0_8192_8192
ID:  1234567890123456789
Start_nonce:  0
Nonces: 8192
Nonces per thread:  904
Uses 4068 Mb of 9152 Mb free RAM
Allocating memory for nonces...  OK
[0%] Generating nonces from 0 to 8136
[99%] Generating nonces from 8136 to 8192
Closing file...
All done. 29 seconds
Releasing memory...  OK```

```Checking Directory Exists...
[PLOT]
 |Wallet ID : 1234567890123456789
 |Start Nonce : 0
 |Nonces      : 8192
 |End Nonce   : 8192
 |POC Version  : POC2

--------------------
[SYS] FP: c:\coding\devbutze\burst-autoplotter\exe\1234567890123456789_0_8192
--------------------

[SYS] Using 4068 MB of 9118 MB of usable RAM

[0%] Generating nonces from 0 to 8136
[CPU] N: 8136 (10290 nonces/min)                [HDD] WS: 0.00%

[99%] Generating nonces from 8136 to 8192
[CPU] N: 8192 (1228 nonces/min)                 [HDD] WS: 100.00%

[SYS] Waiting for Windows cache to catch up. . . Please wait...
[SYS] That plot took 50 seconds...
[SYS] Releasing memory...

[SYS] Done plotting!...
Exiting...```
JohnnyFFM commented 6 years ago

I've just merged v.1.1 and created Xplotter v.1.3 with all the missing stuff added. Thanks @Blagodarenko ! @ohager : Agreed one of the two should be sufficient. Let's compare both again (features / output / speed) and then make a vote. Will have some free time after 502k for this 😃.