![]() |
|
|
#12 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
827910 Posts |
Sigh, now I'm confused.
I prefer the default installation of prime95 leads to trouble-free operation. I don't want to annoy users. Many are unsophisticated and won't know to tweak these settings. I don't need the headache of fielding email complaints about prime95 slowing down their Internet. Some won't bother with email, they just stop running prime95. OTOH, I don't want to cripple the server. I had just coded up the default of 0.25Mbps default upload speed. Each chunk is 1MB in size (bigger if not limiting upload bandwidth). I'm not sure if the TCP connection is kept alive between chunks. If it is, would there be any advantage in creating a new connection with each chunk? @Mark: Yes, resume upload is supported. |
|
|
|
|
|
#13 | |
|
"Mihai Preda"
Apr 2015
5AC16 Posts |
Quote:
OTOH on GpuOwl's upload script I'm going to try "connection keep-alive" between chunks to speed up the upload. Maybe this is the idea: upload all proofs of the day at 3am each night, without throttling. |
|
|
|
|
|
|
#14 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
22×2,767 Posts |
My suggestion is allow the user to designate what their "3 AM" is. If the computer is at a work site that requires machines to be shut down at the end of the day, a hard coded time would be troublesome. Or for people that shutdown laptops, etc.
|
|
|
|
|
|
#15 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
827910 Posts |
Quote:
There will be an option for time interval prime95 is allowed to do its uploads. The problem with setting this to 2AM to 5AM by default is the user that turns his computer off at night never uploads his proofs. |
|
|
|
|
|
|
#16 |
|
"6800 descendent"
Feb 2005
Colorado
32×83 Posts |
Tens of thousands of simultaneous open TCP connections aren't really a problem. In my opinion you shouldn't use it as a reason to make decisions concerning software defaults.
|
|
|
|
|
|
#17 | |
|
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/
1100011100002 Posts |
Quote:
The second comes into play if a load balancer or NAT is used. Each TCP connection requires a unique tuple of source port and IP to differentiate it from other connections. Since strange things can happen, like packet retransmission, there is a time during which TCP tuples cannot be reused, generally one minute. This effectively limits the maximum connection throughput from a load balancer IP to back end service to about 1000 connections/second. The same could also happen on a corporate network behind a NAT gateway, where if uploads were scheduled to happen at one time at night, causing tuple exhaustion between the NAT and PrimeNet. So it's better to make fewer connections per second. The other concern is resource usage on the server when dealing with thousands of connections. We run many servers that maintain 50k connections at work, all also proxied through Nginx. The TCP buffers even though tuned to be small, still consume gigabytes of memory. So that's the argument for uploading as fast as possible, to reduce memory usage. Any reasonably written HTTP server can handle 50k connections on a single core machine; the c10k problem was solved over a decade ago. I do think being to pick an upload time as well as a bandwidth limit is ideal. Even better than picking a bandwidth limit, would be implementing CoDel in the app, (since Windows and Mac haven't gotten around to implementing it), a flow control algorithm that monitors round trip latency to avoid saturating buffers, which is the problem George ran into trying to watch Netflix and getting his TCP ACK packets delayed. Last fiddled with by Mark Rose on 2020-07-28 at 04:24 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Internet down question | ctteg | Information & Answers | 2 | 2018-03-13 17:57 |
| PCI-E USB 3.0 Extension Cable | vsuite | GPU Computing | 7 | 2017-07-10 20:45 |
| The Expanse has to be the most epic 45 minutes to get a first showing on regular cable. | jasong | jasong | 25 | 2016-01-21 16:03 |
| best buy 13.99 for 3ft cat-5e cable | crash893 | Soap Box | 5 | 2012-03-31 02:06 |
| Too Much Internet Access. | M0CZY | Software | 3 | 2005-10-17 15:41 |