mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-03-09, 18:24   #1
bcp19
 
bcp19's Avatar
 
Oct 2011

7×97 Posts
Default Server usage on logging in

I've been thinking, a lot of time when I log in, I am looking to goto the manual submission page, and can end up waiting 2 minutes for the statistics page to be calculated and shown. Why not have it go to a generic "Thank you for logging in" page which should only take a few seconds, and then if someone actually wants to, then let them click the status page. I would think it would end up saving a lot of wear and tear on the server.

Edit: Was just thinking, this should also save wear on the server for all the people using the submission spider, as the spider sends the data same as if you were visiting the page, and needs nothing more than login sucess, caring nothing for the stats.

Last fiddled with by bcp19 on 2012-03-09 at 18:31
bcp19 is offline   Reply With Quote
Old 2012-03-09, 18:31   #2
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2×5×53 Posts
Default

A bookmark along the lines of

Code:
http://www.mersenne.org/manual_result/?user_login=FOOO&user_password=BAAR&B1=GO
should save your day.
ckdo is offline   Reply With Quote
Old 2012-03-09, 18:46   #3
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

100100101110102 Posts
Default

Quote:
Originally Posted by bcp19 View Post
Edit: Was just thinking, this should also save wear on the server for all the people using the submission spider, as the spider sends the data same as if you were visiting the page, and needs nothing more than login sucess, caring nothing for the stats.
You raise an interesting point.

Why does PrimeNet often time-out when a user logs in?

I can run a query against my MySQL DB with 25 million records in about 1/10th of a second.

Why can't PrimeNet?
chalsall is offline   Reply With Quote
Old 2012-03-09, 19:21   #4
bcp19
 
bcp19's Avatar
 
Oct 2011

7×97 Posts
Default

Quote:
Originally Posted by chalsall View Post
You raise an interesting point.

Why does PrimeNet often time-out when a user logs in?

I can run a query against my MySQL DB with 25 million records in about 1/10th of a second.

Why can't PrimeNet?
At first thought, maybe because Primenet has many many more records it deals with?
bcp19 is offline   Reply With Quote
Old 2012-03-09, 19:41   #5
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×3×1,567 Posts
Default

Quote:
Originally Posted by bcp19 View Post
At first thought, maybe because Primenet has many many more records it deals with?
Or, perhaps, PrimeNet doesn't use Indexes properly?

Let's be honest here... The site needs to understand what are the most common requests, and optimize them.

Please note that both James' and my sites never take more than a second to render a page.

And we're all dealing with many millions of records....
chalsall is offline   Reply With Quote
Old 2012-03-09, 19:52   #6
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

3×1,597 Posts
Default

Quote:
Originally Posted by chalsall View Post
You raise an interesting point.

Why does PrimeNet often time-out when a user logs in?

I can run a query against my MySQL DB with 25 million records in about 1/10th of a second.

Why can't PrimeNet?
Because PrimeNet runs on Microsoft SQLServer?

Being serious now, I think Primenet has many many more tables to join for each query.

Luigi

Last fiddled with by ET_ on 2012-03-09 at 19:53
ET_ is offline   Reply With Quote
Old 2012-03-09, 20:06   #7
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·3·1,567 Posts
Default

Quote:
Originally Posted by ET_ View Post
Being serious now, I think Primenet has many many more tables to join for each query.
It shouldn't take a rocket scientist to figure out that a multi-join query is going to take a really long time....
chalsall is offline   Reply With Quote
Old 2012-03-09, 21:20   #8
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

22×43×59 Posts
Default

Quote:
Originally Posted by ckdo View Post
A bookmark along the lines of

Code:
http://www.mersenne.org/manual_result/?user_login=FOOO&user_password=BAAR&B1=GO
should save your day.
I've been trying to make this work, replacing FOOO and BAAR with [username] and [password]. It goes to the manual results page, but acts as if Upload has been clicked, with no input. That is, it comes up saying:
Code:
No factor lines found: 0 
Mfaktc no factor lines found: 0 
Mfakto no factor lines found: 0 
Factors found: 0 
P-1 lines found: 0 
LL lines found: 0 
Mlucas lines found: 0 
Glucas (G29) lines found: 0 
Glucas lines found: 0 
MacLucasFFTW lines found: 0 
CUDALucas lines found: 0 
ECM lines found: 0
Is there some way to work around this?

Last fiddled with by kladner on 2012-03-09 at 21:21
kladner is offline   Reply With Quote
Old 2012-03-09, 21:22   #9
bcp19
 
bcp19's Avatar
 
Oct 2011

7·97 Posts
Default

Quote:
Originally Posted by kladner View Post
I've been trying to make this work, replacing FOOO and BAAR with [username] and [password]. It goes to the manual results page, but acts as if Upload has been clicked, with no input. That is, it comes up saying:
Code:
No factor lines found: 0 Mfaktc no factor lines found: 0 Mfakto no factor lines found: 0 Factors found: 0 P-1 lines found: 0 LL lines found: 0 Mlucas lines found: 0 Glucas (G29) lines found: 0 Glucas lines found: 0 MacLucasFFTW lines found: 0 CUDALucas lines found: 0 ECM lines found: 0
Is there some way to work around this?
It logs you on in almost no time, expand the manual testing and click results. No different from regular login except for time.
bcp19 is offline   Reply With Quote
Old 2012-03-09, 21:25   #10
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

22·43·59 Posts
Default

Quote:
Originally Posted by bcp19 View Post
It logs you on in almost no time, expand the manual testing and click results. No different from regular login except for time.
By golly, you're right! Thanks!
kladner is offline   Reply With Quote
Old 2012-03-09, 21:27   #11
axn
 
axn's Avatar
 
Jun 2003

2·32·269 Posts
Default

Quote:
Originally Posted by kladner View Post
I've been trying to make this work
<snip>
Is there some way to work around this?
Use login.php

Code:
http://www.mersenne.org/login.php?user_login=FOO&user_password=BAR
EDIT:- Or Just

Code:
http://www.mersenne.org/?user_login=FOO&user_password=BAR

Last fiddled with by axn on 2012-03-09 at 21:29
axn is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reducing logging output of mfaktc daxmick GPU Computing 3 2018-01-18 01:16
Problem Logging into GIMPS mes4646 Information & Answers 21 2015-10-30 10:00
Network logging? Xyzzy Linux 10 2015-09-25 17:55
Strange question on logging out Brian-E Forum Feedback 3 2007-12-14 13:18
Logging window output... Xyzzy Software 7 2002-09-26 18:56

All times are UTC. The time now is 09:44.

Tue Jan 19 09:44:38 UTC 2021 up 47 days, 5:55, 0 users, load averages: 1.19, 1.62, 2.00

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.