Awesome, those numbers seem to check out with my local numbers. Still higher than I'd like (for full sync), but hey, one step at a time :)
Thanks a lot for doing these benchmarks!
Really appreciate to have an outside comparison
@ellis2323 Can I tweet out the results? :D
Do you have a twitter user I can refer? :)
found it:)
ellis2323
@ellis2323
lol
Daniel Whitenack
@dwhitena
Hey guys. I was just wondering if any of you will be at gophercon this year? Thought maybe those of us there could meet up and talk about what we are all doing.
@karalabe do you read my benchmark with the ram disk too ?
i have the same number for fast
Péter Szilágyi
@karalabe
fast should be more or less the same, it's not really bound by disk
ellis2323
@ellis2323
i was supposing that the disk io was slowing but i was wrong
for the full, it seems the same
Péter Szilágyi
@karalabe
we found a few ugly bottlenecks in full sync imports
ellis2323
@ellis2323
the import of the 1M blocks is equivalent
Péter Szilágyi
@karalabe
I fixed on on develop + 1 pending PR
but there's one left that requirs a bit of work and we want to push out the current fixes
since network wise they are needed to stabilize connections
ellis2323
@ellis2323
ok
_
Péter Szilágyi
@karalabe
as long as the database is smaller than your available memory, it doesn't matter much
bottlenecks start to hurt when you run out of ram to cache
ellis2323
@ellis2323
the 2657 seems great
Péter Szilágyi
@karalabe
(OS cache that is)
yup, that PR is just a dump of 3 of my other PRs pending merge
ellis2323
@ellis2323
i have run 3 full and 6 fast and i have similar results... that's a good news. the first 1.5 was not as stable
Péter Szilágyi
@karalabe
No, my first attempt at QoS tuning did great for fast sync, but utterly screwed up full sync
since it assumed everyone a slow peer and relied on network packet RTTs to find out who is a good peer
however since full sync does relatively little network IO, there's not much to measure
so nobody escaped the "slow peer" status :D
and I couldn't differentiate between truly slow peers and not properly measured peers
hence slow once stalled sync
ellis2323
@ellis2323
ok
in my case the bandwidth for fast has peak at 6MB/s and < 1MB/s for full
i see often <.4MB/s for full :)
Péter Szilágyi
@karalabe
Full sync usually needs to wait for local CPU/disk so i doesn't saturate the link
No need to download too much in advance
Fast sync I also saw 6/7MB top speeds, a bit low for my taste :D
I'll work on that a bit more :)))
there's one piece of data we need for fast sync that takes a ton of round trip packets to pull, which slows down that part (reducing speeds to 1.2MB/s while doing it)
We're probably going to need a small protocol modification to work around that
ellis2323
@ellis2323
Ok ok
Dominik Schiener
@domschiener
Ok I will try that later
I got 4 sync errors so far btw
Péter Szilágyi
@karalabe
@dwhitena Dunno, most go-ethereum devs are based in Europe, so it's quite a trip. I'd gladly attend TBH.
@domschiener Peers come and go, so occasional stops and resumptions are fine