Help please. Madmax extremely slow on i5 6600

Total plot creation time was 47884.5 sec (798.074 min)
Any clue on how should I fix this?

The computer is i5 6600 (3.3ghz - 4core/4thread) 8gb ram 2133 plotting with 480g SSD w/r500ish on Windows 10. Tried formatting SSD to both ExFat and NTFS didnt make much difference. I know it’s not m.2 but even a normal SATA SSD shouldnt be this slow

Here’s the log
Crafting plot 2 out of -1
Process ID: 4856
Number of Threads: 4
Number of Buckets P1: 2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Puzzle Hash: c361aeb4a4e19558270658c74847d49f381f6c04f55901ac39f6a19f4f87ee
Farmer Public Key: b453b44677e090c50fb63851ec46a99d7e6802f179dcde2f6541907677143dc609a5473172f3716ae76107f04abe67
Working Directory: F:\1
Working Directory 2: F:\1
Plot Name: plot-k32-2021-07-19-14-10-03517be62907318199c5520a507fde2d89fe4c9ccc3817d2f63989b50bbd24
[P1] Table 1 took 1444.48 sec
[P1] Table 2 took 3725.89 sec, found 4295025290 matches
[P1] Table 3 took 4985.85 sec, found 4294878740 matches
[P1] Table 4 took 5509.76 sec, found 4294907927 matches
[P1] Table 5 took 5419.19 sec, found 4294897694 matches
[P1] Table 6 took 5245.76 sec, found 4294867350 matches
[P1] Table 7 took 3159.31 sec, found 4294725647 matches
Phase 1 took 29491.1 sec
[P2] max_table_size = 4295025290
[P2] Table 7 scan took 148.901 sec
[P2] Table 7 rewrite took 1757.74 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 99.591 sec
[P2] Table 6 rewrite took 1536.71 sec, dropped 581263130 entries (13.5339 %)
[P2] Table 5 scan took 86.7542 sec
[P2] Table 5 rewrite took 1476.8 sec, dropped 761946383 entries (17.7407 %)
[P2] Table 4 scan took 85.4804 sec
[P2] Table 4 rewrite took 1530.55 sec, dropped 828833403 entries (19.298 %)
[P2] Table 3 scan took 79.6993 sec
[P2] Table 3 rewrite took 1455.29 sec, dropped 855040203 entries (19.9084 %)
[P2] Table 2 scan took 83.7232 sec
[P2] Table 2 rewrite took 1444.8 sec, dropped 865633810 entries (20.1543 %)
Phase 2 took 9789.4 sec
Wrote plot header with 252 bytes

My money is on the SSD. You probally got some cheap QLC SSD, maybe even SATA. Aren’t I right?

Also the CPU is pretty slow.

Yeah this actually sounds about right for this kind of hardware.

A fast SSD might decrease time a lot but with 4 Threads and 8GB ull probably still need about 6-8hrs.

Did U try the original plotter? Ur hardware would probably being used by that fully.

I know the hardware is old but it shouldnt be this slow. The thing is that CPU only uses less than 20% of total resources max, average is about 5-10% as shown on Task Manager

u mean original plotter could be faster than madmax for my case?

It might be possible, as ur system has about the resources, that thr original plotter consumes.
Not expecting a big improvement though.

I have a system with an i5-6600K, I’ll run a madmax test and get back to you.

It depends. Madmax is not per se faster in my experience with Ryzen 5950 and Threadripper Pro. In particular it reduces SSD wearoff and is more convinient because every 30-60 a plot is ready and you can just stop plotting vs. 8 hours plus plotting with the original plotter.

Tried offical plotter just now and it took more than 24hrs to complete 1 plot. Something is not right with the system. I used to make a plot using official plotter(non-nft) on i5-6500 32gb ram bus 2666 with sata SSD and that took about 7-9 hrs a plot.

So, just finished the first plot. Here is the set-up:

  • intel i5 6600K (stock settings)
  • Asus Z170-Pro
  • 8GB DDR4 2666MHz Corsair Vengeance LED Ram
  • Crucial M500 240GB SATA SSD (Temp 1) (R/W ~500MB/s)
  • Sandisk SDSSDH 240GB SATA SSD (Temp 2) (R/W ~ 550MB/s)
  • Seagate Firecuda 1TB Hybrid SATA HDD (Operating System)
  • Ubuntu 20.04 (Kernel 5.8)

Literally all the hardware I had left lying around to set-up this experiment lol. But I think it is comparable to what you have.

Here is the log

Multi-threaded pipelined Chia k32 plotter - 974d6e5
(Sponsored by Flexpool.io - Check them out if you're looking for a secure and scalable Chia pool)

Final Directory: /media/uchiafarmer/temp1/
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 2606
Number of Threads: 4
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Puzzle Hash:  ********************************
Farmer Public Key: ************************************
Working Directory:   /media/uchiafarmer/temp1/
Working Directory 2: /media/uchiafarmer/cache/temp2/
Plot Name: plot-k32-2021-07-20-15-44-aab75d5ae070b2e728bc7fc569550b84d10322f1b5997fc849f858d873affeab
[P1] Table 1 took 408.821 sec
[P1] Table 2 took 895.044 sec, found 4294944676 matches
[P1] Table 3 took 1878.92 sec, found 4294902570 matches
[P1] Table 4 took 2561.98 sec, found 4294824369 matches
[P1] Table 5 took 2111.22 sec, found 4294628307 matches
[P1] Table 6 took 1584.81 sec, found 4294184425 matches
[P1] Table 7 took 1071.44 sec, found 4293427570 matches
Phase 1 took 10514.6 sec
[P2] max_table_size = 4294967296
[P2] Table 7 scan took 107.818 sec
[P2] Table 7 rewrite took 929.534 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 94.2326 sec
[P2] Table 6 rewrite took 204.333 sec, dropped 581348579 entries (13.538 %)
[P2] Table 5 scan took 92.6878 sec
[P2] Table 5 rewrite took 212.258 sec, dropped 762087350 entries (17.7451 %)
[P2] Table 4 scan took 91.7017 sec
[P2] Table 4 rewrite took 208.268 sec, dropped 828901162 entries (19.3 %)
[P2] Table 3 scan took 91.1668 sec
[P2] Table 3 rewrite took 216.704 sec, dropped 855092175 entries (19.9095 %)
[P2] Table 2 scan took 90.7165 sec
[P2] Table 2 rewrite took 438.953 sec, dropped 865562574 entries (20.1531 %)
Phase 2 took 2786.39 sec
Wrote plot header with 252 bytes
[P3-1] Table 2 took 565.328 sec, wrote 3429382102 right entries
[P3-2] Table 2 took 457.302 sec, wrote 3429382102 left entries, 3429382102 final
[P3-1] Table 3 took 622.993 sec, wrote 3439810395 right entries
[P3-2] Table 3 took 463.246 sec, wrote 3439810395 left entries, 3439810395 final
[P3-1] Table 4 took 655.979 sec, wrote 3465923207 right entries
[P3-2] Table 4 took 480.112 sec, wrote 3465923207 left entries, 3465923207 final
[P3-1] Table 5 took 684.144 sec, wrote 3532540957 right entries
[P3-2] Table 5 took 515.819 sec, wrote 3532540957 left entries, 3532540957 final
[P3-1] Table 6 took 720.145 sec, wrote 3712835846 right entries
[P3-2] Table 6 took 580.185 sec, wrote 3712835846 left entries, 3712835846 final
[P3-1] Table 7 took 1018.03 sec, wrote 4293427570 right entries
[P3-2] Table 7 took 576.753 sec, wrote 4293427570 left entries, 4293427570 final
Phase 3 took 7343.27 sec, wrote 21873920077 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 183.213 sec, final plot size is 108815578663 bytes
Total plot creation time was 20828.8 sec (347.147 min)

So it took just shy of 6 hrs to complete. Looks like it ran significantly faster than yours. But still painstakingly slow compared to a modern system. (My main PC right next to it finished 11 plots in the time it took for the server to complete 1 lol)

Observations:

First of all it, surprisingly, it didn’t hammer on the CPU. It was utilising around 25-40% the entire time. Similarly, the ram usage was very low too. It looked like Madmax was hitting the drives at full speed about 50% of the time. My guess is that is a bottleneck on the SSD side.


For illustration purposes

I shall swap in my MP600 Pro into it. It’ll be limited by PCIe 3.0 speeds, but it’ll help to narrow down where the hold up in the system is. But at least, you have the above log to compare your system against.

Will get back to you when I have more stats for you.

Update:

  • intel i5 6600K (stock settings)
  • Asus Z170-Pro
  • 8GB DDR4 2666MHz Corsair Vengeance LED Ram
  • Crucial M500 240GB SATA SSD (Temp 1) (R/W ~500MB/s)
  • Sandisk SDSSDH 240GB SATA SSD (Temp 2) (R/W ~ 550MB/s)
  • Corsair NVME MP600 Pro (Temp Drive)(3000MB/s on PCIe 3.0)
  • Seagate Firecuda 1TB Hybrid SATA HDD (Operating System)
  • Ubuntu 20.04 (Kernel 5.8)

After replacing the SATA SSD drives with an 4th Gen 2TB MP600 the CPU appears to have more work to do, as you can see the 6600K is pegged to max. The bottleneck in this system was most definitely the SATA SSD, after that, its the CPU, and then finally probably PCIe 3.0.

And here are the logs:

Multi-threaded pipelined Chia k32 plotter - 974d6e5
(Sponsored by Flexpool.io - Check them out if you're looking for a secure and scalable Chia pool)

Final Directory: /media/uchiafarmer/nvme/
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 2779
Number of Threads: 4
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Puzzle Hash:  **********************************
Farmer Public Key: **************************************
Working Directory:   /media/uchiafarmer/nvme/
Working Directory 2: /media/uchiafarmer/nvme/
Plot Name: plot-k32-2021-07-20-23-31-08ca691b00ec7ef3b899c62b72dc7973dd22629aa6bf0c347b2ec382f3ada5d6
[P1] Table 1 took 54.1879 sec
[P1] Table 2 took 479.347 sec, found 4294893853 matches
[P1] Table 3 took 545.07 sec, found 4294841113 matches
[P1] Table 4 took 637.358 sec, found 4294709987 matches
[P1] Table 5 took 624.504 sec, found 4294499433 matches
[P1] Table 6 took 608.176 sec, found 4293966054 matches
[P1] Table 7 took 482.293 sec, found 4292958610 matches
Phase 1 took 3431.13 sec
[P2] max_table_size = 4294967296
[P2] Table 7 scan took 57.161 sec
[P2] Table 7 rewrite took 74.9999 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 113.686 sec
[P2] Table 6 rewrite took 211.751 sec, dropped 581417799 entries (13.5403 %)
[P2] Table 5 scan took 108.834 sec
[P2] Table 5 rewrite took 202.781 sec, dropped 762147145 entries (17.7471 %)
[P2] Table 4 scan took 107.613 sec
[P2] Table 4 rewrite took 199.508 sec, dropped 828940090 entries (19.3014 %)
[P2] Table 3 scan took 106.668 sec
[P2] Table 3 rewrite took 197.452 sec, dropped 855110380 entries (19.9102 %)
[P2] Table 2 scan took 106.858 sec
[P2] Table 2 rewrite took 197.845 sec, dropped 865615578 entries (20.1545 %)
Phase 2 took 1690.11 sec
Wrote plot header with 252 bytes
[P3-1] Table 2 took 139.964 sec, wrote 3429278275 right entries
[P3-2] Table 2 took 119.58 sec, wrote 3429278275 left entries, 3429278275 final
[P3-1] Table 3 took 185.276 sec, wrote 3439730733 right entries
[P3-2] Table 3 took 120.884 sec, wrote 3439730733 left entries, 3439730733 final
[P3-1] Table 4 took 187.403 sec, wrote 3465769897 right entries
[P3-2] Table 4 took 122.207 sec, wrote 3465769897 left entries, 3465769897 final
[P3-1] Table 5 took 189.972 sec, wrote 3532352288 right entries
[P3-2] Table 5 took 124.292 sec, wrote 3532352288 left entries, 3532352288 final
[P3-1] Table 6 took 199.015 sec, wrote 3712548255 right entries
[P3-2] Table 6 took 131.054 sec, wrote 3712548255 left entries, 3712548255 final
[P3-1] Table 7 took 147.084 sec, wrote 4292958610 right entries
[P3-2] Table 7 took 150.004 sec, wrote 4292958610 left entries, 4292958610 final
Phase 3 took 1817.91 sec, wrote 21872638058 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 179.975 sec, final plot size is 108808272908 bytes
Total plot creation time was 7119.96 sec (118.666 min)

Just shy of 2 hours, a third of the time it took on SATA, even with an aging 6600K and 8GB of 2666 ram. It still uses a surprisingly small amount of ram.

Anyway, have a look a data. Draw you own conclusions. Its been a fun little experiment.

thank you i think i should try to run mine on ubuntu and see what it turns out