-
ArticMine
<UkoeHB> It might be possible to justify 128 using the squashed variant, which benefits a lot from batching. Needs careful thought. <--- This maybe close to optimal. One question I have is the specs of the computer processor that was used and if all the threads of the processor were used.
-
ArticMine
Absolutes do matter when considering ring size and how it translates into transactions per second for a given computing capability. This is important for scaling
-
ArticMine
Great work by the way
-
ArticMine
gingeropolous Do hanksyou have the processor specs? T
-
ArticMine
Do you have the processor specs. Thanks
-
yanmaani
has anyone done any research on what distribution past outputs have? If you subtract the gamma from the empirical, do you just get another gamma?
-
ArticMine
The question in my mind is at what TPS will certain common processors not be able to keep up with the network
-
gingeropolous
yeah we can run that on various CPUs and get a full picture
-
UkoeHB
ArticMine: I updated the issue with test context. It was run on one thread.
-
boogerlad[m]
I think the general trend over time is more cores anyways, so since verification is parallelizable, 128 is acceptable
-
boogerlad[m]
*ring size 128
-
atomfried[m]
is it already parallelized?
-
UkoeHB
Not my PoC, idk about existing impl.
-
UkoeHB
ArticMine I think the TPS question is functionally closer to ‘inputs per second’, since validating tx inputs dominates tx verification time.
-
UkoeHB
And a tx with many inputs is way more expensive than one with few.
-
UkoeHB
But there are fixed costs too, so it isn’t completely trivial.
-
ArticMine
<gingeropolous> yeah we can run that on various CPUs and get a full picture <---- Yes that and core leads would be excellent
-
ArticMine
One could use the existing blockchain data to estimate the average number of inputs per tx. Ballpark on average I suspect about 2
-
ArticMine
A high end CPU can have say 16 cores with 24 threads. so parallel processing is critical 20 ms for a 2 in tx means 50 tx /sec on one thread for 1 sec verification time. For 24 threads that is 1200 TPS for 1 sec verification time.
-
ArticMine
I realize this is very high end
-
ArticMine
but still with say 10 sec verification time we are well above the average VISA tx rate, but below the peak
-
ArticMine
This is why getting a real handle on the is important
-
sech1
Has anyone ever thought of writing GPU accelerated verifier?
-
neptune
"<@ArticMine> One could use the existing blockchain data to estimate the average number of inputs per tx. Ballpark on average I suspect about 2" - I checked and up to height 2491099 I got 3 for the average
-
neptune
sorry let me clarify, if you meant "mean" by average, 3. otherwise the most common is 1, followed by 2
-
wfaressuissia1
-
wfaressuissia1
and it will be needed despite of the "useful" comments on reddit since cpu must be dedicated to pow
-
wfaressuissia1
and even mobile devices have gpus
-
sech1
It has been on my list of things to do for a long time (GPU acceleration for wallet sync). One day I'll find time :)
-
sethsimmons
<wfaressuissia[m]> ""Has anyone ever thought of..." <- Sounds like a great thing to open a bounty for 🙂
-
sethsimmons
I'll get that fired up today!
-
wfaressuissia
That thing will take few months of implementation, it isn't easy work
-
gingeropolous
but i feel this supports the notion that we should consider future possible optimizations when selecting a ringsize
-
gingeropolous
it can be technically impossible to fork. it is always technically possible to optimize. well wtf do i know i write bash scripts.
-
UkoeHB
Added an issue for Seraphis address schemes:
monero-project/research-lab #92