Sync is really slow on fresh ETC node when syncing the last year

Hello. I’m trying to sync my new ETC node to the chain.
I’m using the docker version etclabscore/core-geth:version-1.11.15 with the following parameters:

geth --maxpeers 100 --http --http.addr 0.0.0.0 --http.port 8345 --http.corsdomain * --http.vhosts * --http.api debug,web3,eth,txpool,personal,net --syncmode full --datadir /data --cache 4096 --classic

In the beginning the sync was really fast and we closed 4 years of the network with less then 24h.
But now it takes a ~12h to complete the sync of 2m.

Right now I’m on block number 8886899 with age of 1y2w2d .
What can I do to improve the sync? I tried to increase the cache (from 2K to 4K) and It seems like it didn’t help much, and it doesn’t sounds me right to wait two weeks to let the node to finish the sync.

The logs from the last hour:

E 2020-10-11T05:46:24.395030621Z INFO [10-11|05:46:24.394] Deep froze chain segment                 blocks=6     elapsed=138.585ms   number=8849458 hash="15f104…c1a8e7"
 
E 2020-10-11T05:46:39.248635571Z INFO [10-11|05:46:39.248] Imported new chain segment               blocks=1     txs=4    mgas=0.838   elapsed=20.715s     mgasps=0.040  number=8939459 hash="0577f4…166a53" age=1y1w2d   dirty=221.67MiB
 
E 2020-10-11T05:47:00.397011719Z INFO [10-11|05:47:00.396] Imported new chain segment               blocks=4     txs=12   mgas=1.006   elapsed=21.148s     mgasps=0.048  number=8939463 hash="f5bb24…7e9631" age=1y1w2d   dirty=222.52MiB
 
E 2020-10-11T05:47:20.785906335Z INFO [10-11|05:47:20.785] Imported new chain segment               blocks=5     txs=15   mgas=1.160   elapsed=20.388s     mgasps=0.057  number=8939468 hash="fb2c32…b5146b" age=1y1w2d   dirty=221.87MiB
 
E 2020-10-11T05:47:24.602599250Z INFO [10-11|05:47:24.602] Deep froze chain segment                 blocks=11    elapsed=207.120ms   number=8849469 hash="a3a073…5d40dd"
 
E 2020-10-11T05:47:33.847013523Z INFO [10-11|05:47:33.846] Imported new chain segment               blocks=2     txs=21   mgas=1.171   elapsed=13.060s     mgasps=0.090  number=8939470 hash="3b4248…b5323f" age=1y1w2d   dirty=223.30MiB
 
E 2020-10-11T05:47:47.667086933Z INFO [10-11|05:47:47.666] Imported new chain segment               blocks=3     txs=11   mgas=0.840   elapsed=13.820s     mgasps=0.061  number=8939473 hash="8d4f60…25a1ae" age=1y1w2d   dirty=223.48MiB
 
E 2020-10-11T05:48:09.035712831Z INFO [10-11|05:48:09.035] Imported new chain segment               blocks=1     txs=6    mgas=0.880   elapsed=21.368s     mgasps=0.041  number=8939474 hash="93a87e…71257d" age=1y1w2d   dirty=225.56MiB
 
E 2020-10-11T05:48:24.708502515Z INFO [10-11|05:48:24.708] Deep froze chain segment                 blocks=11    elapsed=105.641ms   number=8849480 hash="7e277d…624afe"
 
E 2020-10-11T05:48:29.312917511Z INFO [10-11|05:48:29.312] Imported new chain segment               blocks=7     txs=21   mgas=1.195   elapsed=20.277s     mgasps=0.059  number=8939481 hash="023a36…7d0efb" age=1y1w2d   dirty=224.83MiB
 
E 2020-10-11T05:48:42.501144499Z INFO [10-11|05:48:42.500] Imported new chain segment               blocks=4     txs=28   mgas=1.090   elapsed=13.188s     mgasps=0.083  number=8939485 hash="7bb2ee…698c42" age=1y1w2d   dirty=225.42MiB
 
E 2020-10-11T05:49:01.837858396Z INFO [10-11|05:49:01.837] Imported new chain segment               blocks=4     txs=5    mgas=0.859   elapsed=19.336s     mgasps=0.044  number=8939489 hash="2013c6…690433" age=1y1w2d   dirty=227.03MiB
 
E 2020-10-11T05:49:23.158891550Z INFO [10-11|05:49:23.158] Imported new chain segment               blocks=4     txs=3    mgas=0.817   elapsed=21.321s     mgasps=0.038  number=8939493 hash="0b865f…49ead3" age=1y1w2d   dirty=226.67MiB
 
E 2020-10-11T05:49:24.874213147Z INFO [10-11|05:49:24.873] Deep froze chain segment                 blocks=17    elapsed=165.428ms   number=8849497 hash="36ab03…4fbe93"
 
E 2020-10-11T05:49:43.874330518Z INFO [10-11|05:49:43.874] Imported new chain segment               blocks=5     txs=8    mgas=0.931   elapsed=20.715s     mgasps=0.045  number=8939498 hash="e81055…4cd859" age=1y1w2d   dirty=227.49MiB
 
E 2020-10-11T05:50:09.021457993Z INFO [10-11|05:50:09.021] Imported new chain segment               blocks=5     txs=43   mgas=1.908   elapsed=25.147s     mgasps=0.076  number=8939503 hash="08bf26…911996" age=1y1w2d   dirty=228.63MiB
 
E 2020-10-11T05:50:24.996545476Z INFO [10-11|05:50:24.996] Deep froze chain segment                 blocks=8     elapsed=121.552ms   number=8849505 hash="5e3594…c6130f"
 
E 2020-10-11T05:50:28.339078852Z INFO [10-11|05:50:28.338] Imported new chain segment               blocks=3     txs=5    mgas=0.859   elapsed=19.317s     mgasps=0.044  number=8939506 hash="f828b9…e2994c" age=1y1w2d   dirty=229.04MiB
 
E 2020-10-11T05:50:47.645437320Z INFO [10-11|05:50:47.645] Imported new chain segment               blocks=1     txs=8    mgas=0.922   elapsed=19.306s     mgasps=0.048  number=8939507 hash="dc0c9b…4c7e85" age=1y1w2d   dirty=230.63MiB
 
E 2020-10-11T05:51:01.329063317Z INFO [10-11|05:51:01.328] Imported new chain segment               blocks=2     txs=5    mgas=0.607   elapsed=13.683s     mgasps=0.044  number=8939509 hash="fc639b…d499d5" age=1y1w2d   dirty=232.10MiB
 
E 2020-10-11T05:51:21.370349507Z INFO [10-11|05:51:21.370] Imported new chain segment               blocks=3     txs=9    mgas=0.943   elapsed=20.041s     mgasps=0.047  number=8939512 hash="faaccb…e0d0a5" age=1y1w2d   dirty=232.80MiB
 
E 2020-10-11T05:51:25.109689498Z INFO [10-11|05:51:25.109] Deep froze chain segment                 blocks=8     elapsed=112.799ms   number=8849513 hash="1935b0…3546db"
 
E 2020-10-11T05:51:42.282011164Z INFO [10-11|05:51:42.281] Imported new chain segment               blocks=3     txs=14   mgas=1.169   elapsed=20.911s     mgasps=0.056  number=8939515 hash="02fb36…34b2f7" age=1y1w2d   dirty=233.80MiB
 
E 2020-10-11T05:51:55.428507616Z INFO [10-11|05:51:55.428] Imported new chain segment               blocks=1     txs=6    mgas=0.674   elapsed=13.146s     mgasps=0.051  number=8939516 hash="e8fc47…ad1d20" age=1y1w2d   dirty=233.97MiB
 
E 2020-10-11T05:52:08.912000697Z INFO [10-11|05:52:08.911] Imported new chain segment               blocks=5     txs=22   mgas=1.025   elapsed=13.483s     mgasps=0.076  number=8939521 hash="1e3796…a05888" age=1y1w2d   dirty=234.89MiB
 
E 2020-10-11T05:52:25.236466413Z INFO [10-11|05:52:25.236] Deep froze chain segment                 blocks=11    elapsed=126.612ms   number=8849524 hash="b5db61…988d25"
 
E 2020-10-11T05:52:29.732726748Z INFO [10-11|05:52:29.732] Imported new chain segment               blocks=4     txs=11   mgas=0.985   elapsed=20.820s     mgasps=0.047  number=8939525 hash="5612da…49e3d9" age=1y1w2d   dirty=234.41MiB
 
E 2020-10-11T05:52:43.265974084Z INFO [10-11|05:52:43.265] Imported new chain segment               blocks=4     txs=15   mgas=0.922   elapsed=13.533s     mgasps=0.068  number=8939529 hash="74d463…1b4a97" age=1y1w2d   dirty=235.31MiB
 
E 2020-10-11T05:53:02.935573106Z INFO [10-11|05:53:02.935] Imported new chain segment               blocks=3     txs=5    mgas=0.859   elapsed=19.669s     mgasps=0.044  number=8939532 hash="369e6d…c69baf" age=1y1w2d   dirty=236.12MiB
 
E 2020-10-11T05:53:16.495450118Z INFO [10-11|05:53:16.495] Imported new chain segment               blocks=2     txs=2    mgas=0.544   elapsed=13.559s     mgasps=0.040  number=8939534 hash="3118d2…6a8543" age=1y1w2d   dirty=236.24MiB
 
E 2020-10-11T05:53:25.386148098Z INFO [10-11|05:53:25.385] Deep froze chain segment                 blocks=11    elapsed=149.506ms   number=8849535 hash="e9d610…5e37cb"
 
E 2020-10-11T05:53:36.500228600Z INFO [10-11|05:53:36.499] Imported new chain segment               blocks=2     txs=9    mgas=0.943   elapsed=20.004s     mgasps=0.047  number=8939536 hash="ee302c…d0fd57" age=1y1w2d   dirty=238.31MiB
 
E 2020-10-11T05:54:01.767256119Z INFO [10-11|05:54:01.766] Imported new chain segment               blocks=3     txs=33   mgas=2.004   elapsed=25.267s     mgasps=0.079  number=8939539 hash="c3aba9…e99d76" age=1y1w2d   dirty=238.96MiB
 
E 2020-10-11T05:54:20.785325441Z INFO [10-11|05:54:20.785] Imported new chain segment               blocks=2     txs=5    mgas=0.859   elapsed=19.018s     mgasps=0.045  number=8939541 hash="2000cc…fe5612" age=1y1w2d   dirty=240.98MiB
 
E 2020-10-11T05:54:25.557543721Z INFO [10-11|05:54:25.557] Deep froze chain segment                 blocks=6     elapsed=170.974ms   number=8849541 hash="3cbcfe…93a13e"
 
E 2020-10-11T05:54:39.762052217Z INFO [10-11|05:54:39.761] Imported new chain segment               blocks=4     txs=3    mgas=0.817   elapsed=18.976s     mgasps=0.043  number=8939545 hash="237a85…d91cb3" age=1y1w2d   dirty=240.97MiB
 
E 2020-10-11T05:55:05.238588708Z INFO [10-11|05:55:05.238] Imported new chain segment               blocks=4     txs=13   mgas=1.325   elapsed=25.476s     mgasps=0.052  number=8939549 hash="8bacac…213e2b" age=1y1w2d   dirty=242.53MiB
 
E 2020-10-11T05:55:24.707324285Z INFO [10-11|05:55:24.707] Imported new chain segment               blocks=4     txs=6    mgas=0.910   elapsed=19.468s     mgasps=0.047  number=8939553 hash="c3df75…4d1c9c" age=1y1w2d   dirty=243.34MiB
 
E 2020-10-11T05:55:25.716547564Z INFO [10-11|05:55:25.716] Deep froze chain segment                 blocks=13    elapsed=158.219ms   number=8849554 hash="3d5090…af3147"
 
E 2020-10-11T05:55:44.557697883Z INFO [10-11|05:55:44.557] Imported new chain segment               blocks=2     txs=19   mgas=1.304   elapsed=19.850s     mgasps=0.066  number=8939555 hash="1b2122…830212" age=1y1w2d   dirty=244.02MiB
 
E 2020-10-11T05:56:04.467756170Z INFO [10-11|05:56:04.467] Imported new chain segment               blocks=3     txs=32   mgas=1.426   elapsed=19.909s     mgasps=0.072  number=8939558 hash="8d02de…b2841d" age=1y1w2d   dirty=245.64MiB
 
E 2020-10-11T05:56:24.141231349Z INFO [10-11|05:56:24.140] Imported new chain segment               blocks=3     txs=11   mgas=1.022   elapsed=19.673s     mgasps=0.052  number=8939561 hash="7977d6…fa91af" age=1y1w2d   dirty=245.78MiB
 
E 2020-10-11T05:56:25.827614770Z INFO [10-11|05:56:25.827] Deep froze chain segment                 blocks=8     elapsed=110.868ms   number=8849562 hash="542652…f627af"
 
E 2020-10-11T05:56:48.257590878Z INFO [10-11|05:56:48.257] Imported new chain segment               blocks=8     txs=4    mgas=1.089   elapsed=24.116s     mgasps=0.045  number=8939569 hash="e2b39c…665866" age=1y1w2d   dirty=241.34MiB
 
E 2020-10-11T05:57:13.473335359Z INFO [10-11|05:57:13.473] Imported new chain segment               blocks=5     txs=6    mgas=1.131   elapsed=25.215s     mgasps=0.045  number=8939574 hash="ded4f2…8b994b" age=1y1w2d   dirty=237.62MiB
 
E 2020-10-11T05:57:25.946143689Z INFO [10-11|05:57:25.945] Deep froze chain segment                 blocks=13    elapsed=118.308ms   number=8849575 hash="c6a97b…f1dc60"
 
E 2020-10-11T05:57:31.413143608Z INFO [10-11|05:57:31.412] Imported new chain segment               blocks=2     txs=6    mgas=0.880   elapsed=17.939s     mgasps=0.049  number=8939576 hash="140d14…0a43bd" age=1y1w2d   dirty=239.16MiB

Hi Gal!

Hmmmm did you try with openethereum ? Is your disk slow (HDD)? I did synced back in the days with parity and had just issues at lower block numbers

grafik

Slow syncing between 2 283 397 to 2 620 384

grafik