fission-codes / benchmark

A tool to test / benchmark webnative performance
Apache License 2.0
0 stars 0 forks source link

Benchmark filesystems with lots of changes #4

Open matheus23 opened 3 years ago

matheus23 commented 3 years ago

One of my accounts has lots of filesystem public files history entries. Maybe it might make sense to benchmark this. (Just wanted to write this down somewhere, this came up with of https://github.com/fission-suite/fission/issues/489)

expede commented 3 years ago

We should 100% totally check this, but I'll be pretty surprised if it turned out to be the actual bottleneck. Here's my thinking:

Which isn't to say that trying to sync a new really deep structure won't have a lot of round trips, but each of those should be pretty lightweight because it's just pointers. That of course compounds, so if you need to do 10k round trips because of bitswap, yeah that's pretty rough.

I can absolutely be wrong β€”Β the above is pure theory β€” and we should definitely test this empirically πŸ”¬πŸ§ͺπŸ‘

matheus23 commented 3 years ago

I've been able to reproduce >60s updates with a single small image

That sounds interesting! I'd love to hear more.

I'll be pretty surprised if it turned out to be the actual bottleneck.

Yeah I had this issue in my notes and I talked to James about it. I just wanted this to be persisted somewhere. It's all theory of course. Maybe this would've been more appropriate at another place πŸ€”

expede commented 3 years ago

I've been able to reproduce >60s updates with a single small image

That sounds interesting! I'd love to hear more.

With the known-effected account, I opened the public directory in Drive, and upload a ~400kb image. It took over a minute to complete.

Maybe this would've been more appropriate at another place πŸ€”

I think that this a great place to record this, and thanks for writing it down! We absolutely need to check this assumption.

My comments above were mainly 1. stating my assumptions, 2. getting the conversation going, and 3. when we test this, we should account for the factors in my (and others) existing assumptions, for example:

matheus23 commented 3 years ago

With the known-effected account, I opened the public directory in Drive, and upload a ~400kb image. It took over a minute to complete.

Ah right, I thought you reproduced this on a new account :sweat_smile: