![]() |
|
|
#716 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
Quote:
This morning my spiders were again reporting 500 errors. I launched an MTR from GPU72's server to Primenet's, and latency was reasonable (~ 55ms), with 0% packet loss. Nothing to action; just a data-point. Everything is nominal at the moment. |
|
|
|
|
|
|
#717 | |
|
Serpentine Vermin Jar
Jul 2014
CF116 Posts |
Quote:
Something like 92% of 10,300 requests (9512 of them) were from the GPU72 spider, and all of those requests are only asking for 2 exponents at a time (9,512 requests). Another 683 were for 10 exponents at a time, 62 only requested 1, 16 requests for 1000, etc. It gets pretty nitty gritty at that point. What we're wondering is why the GPU72 is only requesting 2 at a time? You could probably request 100 at a time which would actually take about the same amount of time as only requesting 2, whereas if you needed 100 and made 50 separate calls, it's taking 50 times longer. It's a lot of the basic HTTP overhead involved, but on the server backend it can handle a reasonable amount (maybe 100) in a decent amount of time. Basically, your ~9500 requests were to get 19,000 assignments and took the server (on the backend, the "total time taken" measurement in IIS) about 350 ms each for a grand total of 3325 seconds, or 55.4 minutes of server processing time. Now, if you were requesting 100 at a time, similar requests take 2.05 seconds. If you wanted the same 19,000 assignments and asked for them 100 at a time, it would take 380 seconds, or just 6.3 minutes. Something to consider... make several larger requests (we think 100 might be a good starting point for a hard limit on the server) instead of a series of small requests. Thoughts from a GPU72 perspective? |
|
|
|
|
|
|
#718 | ||
|
Romulan Interpreter
Jun 2011
Thailand
965710 Posts |
Quote:
Quote:
Last fiddled with by LaurV on 2014-09-14 at 04:42 |
||
|
|
|
|
|
#719 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
Traffic from GPU72 is somewhat consistent. I broke down the requests into 10 minute intervals, and it's typically making 32 requests in any given 10 minute period, all for 2 exponents, so 64 total, or 160 requests per hour for 320 exponents. Now, if I revealed *when* the server task does it's hourly run to expire/unassign exponents that have passed their expiration dates, it would make sense that GPU72 could run then and grab as many as it thinks it an snarf on for the next hour. It really won't help much to check all through the rest of that hour on the odd chance that some client out there decides to connect and unassign some work because things are taking longer than expected, or somebody manually unreserves some exponents. I can't say for sure, but I'm guessing those two scenarios don't happen that often. I'd guess most unassigned exponents come from work that has gone past it's "fresh until" date and got sent back to the pool of free agents by the server task. It could probably request all 320 at once that it would normally grab over the course of an hour, and the end result would be pretty much the same. Better, in fact, because at the scheduled time, there's going to be a large batch of exponents that got freed up, but GPU72 is only asking for a handful up front, so if there are other lower exponents out there, GPU72 is leaving them on the table for others to grab. |
|
|
|
|
|
|
#720 |
|
Romulan Interpreter
Jun 2011
Thailand
32·29·37 Posts |
What you say makes a lot of sense. You have to talk directly with Chris about GPU72--PrimeNet interaction.
Historically, people (read davieddy, and few others) were quite upset that GPU72 grabs all lower LL assignments and some smoke came out of it, but that is not the case anymore since GPU72 does not offer LL and DC assignments anymore (I mean that, maybe, letting some exponents for other people was intentional, again I am guessing) Last fiddled with by LaurV on 2014-09-14 at 06:11 |
|
|
|
|
|
#721 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
![]() FYI, the task that expires exponents that haven't checked in for XX days is a nightly job, not hourly, just to correct myself. |
|
|
|
|
|
|
#722 |
|
"Bill Staffen"
Jan 2013
Pittsburgh, PA, USA
6508 Posts |
You could probably get rid of some of the spiders altogether if you just start assigning hot numbers to Research or whatever spidey acts as. Gpu72 could look at it's numbers daily to use for assignments. Maybe put a limit on the number of assignments that could be concurrently assigned to that account to avoid overflow.
|
|
|
|
|
|
#723 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
Quote:
This isn't only to collect those candidates not yet appropriately TFed which are recycled daily at "the magic hour", but also those who are assigned for P-1'ing or TF'ing to others, and which can be returned to Primenet at any time. Quote:
However, I would agree that this is still sub-optimal. If a report could be made available to GPU72 of those candidates not currently assigned (in, let's say, a specified range) below a specified bit-level, then "Spidy" could request this report only, let's say, once an hour, and target its requests for such assignments. To be very clear, I don't want GPU72 to cause any problems for Primenet. And, it's not the end of the day if a few sub-optimally TF'ed candidates "slip through". Thoughts? |
||
|
|
|
|
|
#724 | |
|
"James Heinrich"
May 2004
ex-Northern Ontario
11·311 Posts |
Quote:
|
|
|
|
|
|
|
#725 | |
|
Serpentine Vermin Jar
Jul 2014
331310 Posts |
Quote:
Now that the server has had it's overhaul, it's a little clearer to see where some other improvements can be made. Optimizing the manual assignment page seems like ripe picking, and since GPU72 makes up most of those, it should be pretty easy to work something out, I hope. |
|
|
|
|
|
|
#726 |
|
Romulan Interpreter
Jun 2011
Thailand
100101101110012 Posts |
Well, that seems a very good idea, and of course it would be very nice if PrimeNet could say to GPU72 "hey, I have a sub-optimal TF-ed available, do you want it?", and eventually keep it for some time (2-3 hours?) till either GPU72 or a manual user wants it/requests it.
Last fiddled with by LaurV on 2014-09-15 at 03:39 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Official "Faits erronés dans de belles-lettres" thread | ewmayer | Lounge | 39 | 2015-05-19 01:08 |
| Official "all-Greek-to-me Fiction Literature and Cinema" Thread | ewmayer | Science & Technology | 41 | 2014-04-16 11:54 |
| Official "Lasciate ogne speranza" whinge-thread | cheesehead | Soap Box | 56 | 2013-06-29 01:42 |
| Official "Ernst is a deceiving bully and George is a meanie" thread | cheesehead | Soap Box | 61 | 2013-06-11 04:30 |
| Official "String copy Statement Considered Harmful" thread | Dubslow | Programming | 19 | 2012-05-31 17:49 |