-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase tested transfer count and data size #45
Conversation
4901f33
to
fa9cd05
Compare
fa9cd05
to
27e9bc8
Compare
@jacobkaufmann Have you had the chance to look at this? Not necessarily looking for a fix, but more a confirmation that the test is correctly formed and exposes a bug that needs fixing. |
apologies for the delay. I ran the test based on your code here, which appears correctly formed, but I don't see any |
by error i guess i actually meant
re bodies / receipts payload size, running a quick check on recent content values, the largest payload I'm seeing is approx
I'm having trouble collecting good data on how many utp transfers we can realistically expect to be going on at the same time while running trin... it's certainly something I can put more effort towards if you think it's useful. But, my intuition is that at the very least while running trin in bridge mode, set to backfill, we can reasonably expect a client to have 100 - 1000 concurrent utp transfers. |
so that I was curious about the payload size because the send buffer has a preconfigured finite size, but that does not appear to affect you, since it is greater than one million. |
That |
huh, well like I said I don't see that when I execute the tests locally. I can try to make the tests more intense and see if the |
@jacobkaufmann Any progress on transferring this repo over to the ethereum org? that way we could get circleci running which would help resolve our different test results in this case |
sorry I have been out for the past few days. I will create an issue for that today. |
@jacobkaufmann Just in case you missed this, but now that ci is building the failing run here is essentially the same type of error I've been experiencing while using this library in trin. |
hmm, that's strange that the timeout is exceeded so quickly, because the test stage runs for less than one minute in that CI failure. one thing that could be going on in the test is that the CIDs are overlapping with each other, so that messages for CID |
@jacobkaufmann IIUC, that's not the problem here. In the test I Imo, increasing the gap b/w consecutive CIDs wouldn't reveal anything. The error in this ci build is the exact |
Cleanup: change the high end of the range to equal the number of concurrent streams
I am pretty sure that all the important bits of this were included in #81 |
Ok, well I think I've been able to track down at least one of the degenerative states we've been experiencing w/ utp inside trin. But, first a little context...
fin
packet being sent from the sender -> receiver. This behavior persisted. Until for an unrelated reason, I restarted my terminal and we started to observe fin packets being sent. I have no explanation for this 🤷I've updated the
socket
test to initiate 50 offer/accept flows for a relatively large piece of data. The error message here is familiar from the ones we've been seeing while debugging the live testnet. I'm happy to continue debugging this test failure and find the cause, but some input from @jacobkaufmann first would be nice to confirm that the test is correctly formed and that you can duplicate the failure.