mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2015-04-19, 10:10   #496
wreck
 
wreck's Avatar
 
"Bo Chen"
Oct 2005
Wuhan,China

23·3·7 Posts
Default

Quote:
Originally Posted by Madpoo View Post
It could be a Great Firewall issue, possibly, but not in accessing jquery itself. The site loads jquery from the Microsoft CDN (ajax.aspnetcdn.com).

However, that particular page *does* use a Google Graph to display the TFlops for the past week, and that may be what you're having a problem with?

If you can reach this URL from your browser than that's not the problem (it should return some Javascript):
http://www.google.com/jsapi

For further troubleshooting you could look at a tool like Fiddler to see if any particular resource in the page is getting an error.

Part of my real job involves running a bunch of websites including one for Chinese visitors, and we have some Google calls on the page (ads, analytics, etc) and sometimes it's slow (well, it's almost always slow in mainland China) but I haven't seen anything get blocked outright.

We've found that about the only way you're ever going to get good performance inside China is to host the site locally. But then it gets complicated with obtaining the ICP license and either colocating or using ChinaCache to push content to the edge.

In general I've seen the China firewall add about one second of latency for each resource being loaded. Images tend to pass through pretty fast but text/* resources take longer as they're analyzed.

That Fiddler tool will help... maybe resources aren't loading at all, or maybe it's taking so long it's timing out, etc. If you find anything out of place, let me know and I'll see if there's any changes we can make to speed it up.

I have about 1.5 TB of data on an old CDN plan we no longer use and all that data will expire in a year, so maybe for a one-year period or until it's all used up, I can put some of the static resources (images, JS, CSS) on there. I think they have POPs in Hong Kong which is as close as you can get to mainland China without an ICP.
Thanks for your detail reply.
I get the chance to use Fiddler at weekend, and attached image is the output of Fiddler when open the url
http://www.mersenne.org/primenet/

When I click the item 2, the content on the right is
Code:
Request Count:   1
Bytes Sent:      311		(headers:311; body:0)
Bytes Received:  789		(headers:207; body:582)

ACTUAL PERFORMANCE
--------------
ClientConnected:	17:53:23.270
ClientBeginRequest:	17:53:34.301
GotRequestHeaders:	17:53:34.301
ClientDoneRequest:	17:53:34.301
Determine Gateway:	0ms
DNS Lookup: 		0ms
TCP/IP Connect:	21010ms
HTTPS Handshake:	0ms
ServerConnected:	17:53:55.312
FiddlerBeginRequest:	00:00:00.000
ServerGotRequest:	00:00:00.000
ServerBeginResponse:	00:00:00.000
GotResponseHeaders:	00:00:00.000
ServerDoneResponse:	00:00:00.000
ClientBeginResponse:	17:53:55.312
ClientDoneResponse:	17:53:55.312

	Overall Elapsed:	0:00:21.011

RESPONSE BYTES (by Content-Type)
--------------
text/html: 582
~headers~: 207


ESTIMATED WORLDWIDE PERFORMANCE
--------------
The following are VERY rough estimates of download times when hitting servers based in Seattle.

US West Coast (Modem - 6KB/sec)
	RTT:		0.10s
	Elapsed:	0.10s

Japan / Northern Europe (Modem)
	RTT:		0.15s
	Elapsed:	0.15s

China (Modem)
	RTT:		0.45s
	Elapsed:	0.45s

US West Coast (DSL - 30KB/sec)
	RTT:		0.10s
	Elapsed:	0.10s

Japan / Northern Europe (DSL)
	RTT:		0.15s
	Elapsed:	0.15s

China (DSL)
	RTT:		0.45s
	Elapsed:	0.45s


________________
Learn more about HTTP performance at http://fiddler2.com/r/?HTTPPERF

When I click item 3, the content is
Code:
Request Count:   1
Bytes Sent:      364		(headers:364; body:0)
Bytes Received:  789		(headers:207; body:582)

ACTUAL PERFORMANCE
--------------
ClientConnected:	17:53:22.702
ClientBeginRequest:	17:53:34.316
GotRequestHeaders:	17:53:34.316
ClientDoneRequest:	17:53:34.316
Determine Gateway:	0ms
DNS Lookup: 		0ms
TCP/IP Connect:	105217ms
HTTPS Handshake:	0ms
ServerConnected:	17:55:19.509
FiddlerBeginRequest:	00:00:00.000
ServerGotRequest:	00:00:00.000
ServerBeginResponse:	00:00:00.000
GotResponseHeaders:	00:00:00.000
ServerDoneResponse:	00:00:00.000
ClientBeginResponse:	17:55:19.509
ClientDoneResponse:	17:55:19.509

	Overall Elapsed:	0:01:45.193

RESPONSE BYTES (by Content-Type)
--------------
text/html: 582
~headers~: 207


ESTIMATED WORLDWIDE PERFORMANCE
--------------
The following are VERY rough estimates of download times when hitting servers based in Seattle.

US West Coast (Modem - 6KB/sec)
	RTT:		0.10s
	Elapsed:	0.10s

Japan / Northern Europe (Modem)
	RTT:		0.15s
	Elapsed:	0.15s

China (Modem)
	RTT:		0.45s
	Elapsed:	0.45s

US West Coast (DSL - 30KB/sec)
	RTT:		0.10s
	Elapsed:	0.10s

Japan / Northern Europe (DSL)
	RTT:		0.15s
	Elapsed:	0.15s

China (DSL)
	RTT:		0.45s
	Elapsed:	0.45s


________________
Learn more about HTTP performance at http://fiddler2.com/r/?HTTPPERF
IE version is 10.0.9200.16521
Operating system is Windows 7
Attached Thumbnails
Click image for larger version

Name:	Fiddler for mersenne.org.png
Views:	79
Size:	36.4 KB
ID:	12519  
wreck is offline   Reply With Quote
Old 2015-04-20, 00:00   #497
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by wreck View Post
...IE version is 10.0.9200.16521
Operating system is Windows 7...
Yes, the Fiddler output does show problems connecting to the Google resources. The "translate.google.com" isn't a big deal, it just shows the translate button in the footer of the page.

The /jsapi call is the one to the graph that shows the past 7 days of throughput, so if that call is blocked it will create the error when a call to something in that script is made to render it.

Bummer... unfortunately there's not much that can be done about it. Google and China have a very hot/cold relationship so it may start working again at some point, but I wouldn't hold my breath.

There may be another free graphing option out there somewhere, but the problem is Google has so many cool things like that for free. And why is it free? Because then Google gets to plant a cookie on you and track you just a little bit more. :) Believe me, it all feeds into their huge metrics database.
Madpoo is offline   Reply With Quote
Old 2015-04-20, 00:14   #498
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24·389 Posts
Lightbulb

Quote:
Originally Posted by Madpoo View Post
Bummer... unfortunately there's not much that can be done about it. Google and China have a very hot/cold relationship so it may start working again at some point, but I wouldn't hold my breath.
You can always go back to the previous graph generator that worked perfectly fine. Relying on external resources is perhaps not the best idea.

And expecting everyone to run arbitrary unvetted code from random Internet pages is probably too far-fetched to even consider it possible. Oh wait, that appears to be just me. Never mind. Everyone else please carry on with your hyper-trusting of everything on the Internet while I continue my hypo-trusting paranoia.

BTW: Not everyone allows cookies from third parties. And some people completely block google's cookies even if they are first party.
retina is online now   Reply With Quote
Old 2015-04-20, 04:06   #499
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by retina View Post
You can always go back to the previous graph generator that worked perfectly fine. Relying on external resources is perhaps not the best idea.
It's been a while but I think the previous graphs were using an older Google graphing API that they were retiring, so the change was forced, and it was still Google. In that case though, you could supply a URL and Google would return an image... I can see the appeal for you since it didn't require java being enabled.

Quote:
Originally Posted by retina View Post
BTW: Not everyone allows cookies from third parties. And some people completely block google's cookies even if they are first party.
I actually tend to block 3rd party cookies too. It reminds me I probably haven't done that recently...time to check my settings.
Madpoo is offline   Reply With Quote
Old 2015-04-20, 15:06   #500
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

293010 Posts
Default

Quote:
Originally Posted by Madpoo View Post
I actually tend to block 3rd party cookies too. It reminds me I probably haven't done that recently...time to check my settings.
As do I. We're the only third party vendor in our industry that I know of whose embeddable JavaScript widgets still work with third party cookies disabled.
Mark Rose is offline   Reply With Quote
Old 2015-04-22, 22:11   #501
TObject
 
TObject's Avatar
 
Feb 2012

34×5 Posts
Default

FYI, manually reported factors, I mean really manually, where you get a “processing: factor XXX of unknown origin for MYYY” never show up on the “Recent Cleared” report.
TObject is offline   Reply With Quote
Old 2015-04-22, 22:49   #502
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Quote:
Originally Posted by TObject View Post
FYI, manually reported factors, I mean really manually, where you get a “processing: factor XXX of unknown origin for MYYY” never show up on the “Recent Cleared” report.
@George: That's factors that are passed from the manual result form to save_manual_FACTOR_result() which is outside my purview.

edit: TObject's most recent factor submission is http://www.mersenne.org/M921009319 to give you somewhere to start looking.

Last fiddled with by James Heinrich on 2015-04-22 at 22:52
James Heinrich is online now   Reply With Quote
Old 2015-04-23, 00:33   #503
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011100002 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
@George: That's factors that are passed from the manual result form to save_manual_FACTOR_result() which is outside my purview.
The caller of that routine must also call manual_pre_processing and manual_post_processing
Prime95 is online now   Reply With Quote
Old 2015-04-23, 02:20   #504
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

65358 Posts
Default

Quote:
Originally Posted by Prime95 View Post
The caller of that routine must also call manual_pre_processing and manual_post_processing
I've added that in. It will now assume $result_type = PRIMENET_RESULT_TYPE_FACTOR_TF (unless you have any better idea).
James Heinrich is online now   Reply With Quote
Old 2015-04-25, 03:10   #505
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

342110 Posts
Default

@George: I just fixed some undefined errors in the code I added a couple days ago, but I've run into this when inserting a factor of unknown origin:
Code:
processing: factor <factor> of unknown origin for M<exponent>
[SQL Server]Cannot insert the value NULL into column 'user_id', table 't_gimps_results_log'; column does not allow nulls.
INSERT fails., in 0.95_database.inc.php on line 286
Error code: 13, error text: ar Insert t_gimps_results_log failed: GUID: , exponent: <exponent>,
C2D_CPU_GHz_days: 0.00057466045541667
James Heinrich is online now   Reply With Quote
Old 2015-04-25, 07:43   #506
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
@George: I just fixed some undefined errors in the code I added a couple days ago, but I've run into this when inserting a factor of unknown origin:
Code:
processing: factor <factor> of unknown origin for M<exponent>
[SQL Server]Cannot insert the value NULL into column 'user_id', table 't_gimps_results_log'; column does not allow nulls.
INSERT fails., in 0.95_database.inc.php on line 286
Error code: 13, error text: ar Insert t_gimps_results_log failed: GUID: , exponent: <exponent>,
C2D_CPU_GHz_days: 0.00057466045541667
Batalov just PM'd George and I about a similar error when doing a submit.

In that case it looked like it was saying something about the assignment id (it mentioned "aid" wasn't set). Unknown origin probably means something that came from unassigned work and missing some value that needs to be present or defaulted?
Madpoo is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Database design xilman Astronomy 1 2017-04-30 22:25
Theoretical Experiment Design c10ck3r Homework Help 7 2015-02-03 08:54
Digital Logic Design henryzz Puzzles 9 2014-12-04 20:56
new intel design tha Hardware 5 2007-04-19 11:38
design factoring algorithms koders333 Factoring 14 2006-01-25 14:08

All times are UTC. The time now is 21:28.


Sun Aug 1 21:28:17 UTC 2021 up 9 days, 15:57, 0 users, load averages: 1.41, 1.45, 1.50

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.