Re: Mersenne: Getting new GIMPSers

2001-03-29 Thread Gareth Randall

Pierre Abbat wrote:

> I know that there's an idle process (#0), an init process (#1), and many other
> processes in a computer. Idle time accrues to the idle process. What I don't
> understand is how 2:43 of the idle time was accounted to prime95 and the other
> seventeen seconds to other processes - it should all have been accounted to > the 
>idle process.


Bit late I know, but there are two other reasons for acruing idle time:

1. My Win95 system always started with ~23 seconds of idle time accumulated. On my 
system this implied that the counter started before the video display had even been 
initialised, which makes sense. The kernel is alive and counting long before you see 
your desktop, and it isn't until later that prime95 starts.

2. When prime95 (and mprime) communicates with the server, calculations stop. In fact 
this can't be helped. If a calculation has just finished then clearly no more work can 
be done. If a calculation is in progress it's possible to envisage "update" 
connections running as a parallel thread, but that could lead to race conditions if 
the work completes just as the communication is going on. (That's one guess on why 
it's single threaded, oh and it's a lot simpler to program!)


(Note: My prime95 was replaced by mprime on Linux 6 months ago. If anyone was 
wondering about file format compatibility, I found that the prime95 file format is 
directly compatible with mprime.)

Yours,
 
=== Gareth Randall ===

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread John R Pierce

> >even with prime95 running 24/7 on my Windows2000 system, it seems to come
up
> >with a FEW idle cycles.  I figure its when prime95 gets paged out or
> >something.  I rebooted a couple of hours ago after photoshop blew up and
> >left the system kinda crispy, in the past 2h 48m, I show 3 minutes of
idle
> >time has accumulated.  2:43 has gone to prime95.  the rest to everything
> >else i've done (hardly none to a number of edit windows, web browsers,
etc).
>
> I know that there's an idle process (#0), an init process (#1), and many
other
> processes in a computer. Idle time accrues to the idle process. What I
don't
> understand is how 2:43 of the idle time was accounted to prime95 and the
other
> seventeen seconds to other processes - it should all have been accounted
to the
> idle process.

my bad.  I meant, out of 2h 48m elapsed time, 3m was idle, 2h 43m was
prime95, and the rest to various other processes.


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread Pierre Abbat

On Sun, 25 Mar 2001, Jeff Woods wrote:
>At 10:03 AM 3/25/01 -0500, you wrote:
>
>> >even with prime95 running 24/7 on my Windows2000 system, it seems to come up
>> >with a FEW idle cycles.  I figure its when prime95 gets paged out or
>>
>>How does idle time accrue *to a process*? Idle time is when the CPU is not
>>executing any process.
>
>On a Win32 system, the idle time is kept track of by the idle PROCESS (a 
>thread or task operating autonomously, for you *n*x types).   It is by 
>hooking into and pseudo-taking over this process that Prime95 does its work.

You're ignoring the context of my question. The context was:

>even with prime95 running 24/7 on my Windows2000 system, it seems to come up
>with a FEW idle cycles.  I figure its when prime95 gets paged out or
>something.  I rebooted a couple of hours ago after photoshop blew up and
>left the system kinda crispy, in the past 2h 48m, I show 3 minutes of idle
>time has accumulated.  2:43 has gone to prime95.  the rest to everything
>else i've done (hardly none to a number of edit windows, web browsers, etc).

I know that there's an idle process (#0), an init process (#1), and many other
processes in a computer. Idle time accrues to the idle process. What I don't
understand is how 2:43 of the idle time was accounted to prime95 and the other
seventeen seconds to other processes - it should all have been accounted to the
idle process.

phma
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread John R Pierce

> How does idle time accrue *to a process*? Idle time is when the CPU is not
> executing any process.

in virtually every multitasking OS, there is a special "IDLE" process.  This
is usually something as simple as...

idleloop:
HLT
JMP idleloop

and this process is always 'ready' to run, and always at the LOWEST system
priority [many OS's have a special 'Idle' priority used only for this
process].  That way the task dispatcher *always* has somewhere to go if no
other process is ready.  The "HLT" instruction will be awoken at the very
next interrupt, and since anything that can cause a process to wake up
neccessarily involves a interrupt, this means no time is wasted.  HLT also
causes most CPUs to enter a reduced power state, running many degrees cooler
(when I exit prime95, my P3-933 goes from ~118F to ~80F in a very short
time).

-jrp


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread Jeff Woods

At 10:03 AM 3/25/01 -0500, you wrote:

> >even with prime95 running 24/7 on my Windows2000 system, it seems to come up
> >with a FEW idle cycles.  I figure its when prime95 gets paged out or
>
>How does idle time accrue *to a process*? Idle time is when the CPU is not
>executing any process.

On a Win32 system, the idle time is kept track of by the idle PROCESS (a 
thread or task operating autonomously, for you *n*x types).   It is by 
hooking into and pseudo-taking over this process that Prime95 does its work.

Win32 tracks ALL processes by (I think) 32 different "priority" levels, 
broken into two different tiers (with only five basic priority levels from 
low, midium low, etc, to high).The Idle Process is but one more process 
running next to the Kernel, GDI, and other messaging and system processes 
as well as user applications.

It *will* get the occasional cycle, lest it never be accessed at all, even 
when Prime95 is running.
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread Pierre Abbat

On Sun, 25 Mar 2001, John R Pierce wrote:
>> Hmm ... my comp has NO idle time anymore (8
>
>even with prime95 running 24/7 on my Windows2000 system, it seems to come up
>with a FEW idle cycles.  I figure its when prime95 gets paged out or
>something.  I rebooted a couple of hours ago after photoshop blew up and
>left the system kinda crispy, in the past 2h 48m, I show 3 minutes of idle
>time has accumulated.  2:43 has gone to prime95.  the rest to everything
>else i've done (hardly none to a number of edit windows, web browsers, etc).

How does idle time accrue *to a process*? Idle time is when the CPU is not
executing any process.

phma
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread Brian J. Beesley

On 25 Mar 2001, at 2:08, John R Pierce wrote:

> > Hmm ... my comp has NO idle time anymore (8
> 
> even with prime95 running 24/7 on my Windows2000 system, it seems to
> come up with a FEW idle cycles.

Yes, to enable low-priority tasks to respond to events (mouse clicks 
etc) the scheduler makes sure every process - even the null process - 
gets a few cycles every so often. If you have a "normal" number of 
processes running you will probably have only about 99% of the actual 
processor cycles available to _all_ user processes. What is "normal?" 
Well, the task manager on my Win2K system shows 28 processes when all 
applications are shut.

Eè­Û®&§ç¬
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread John R Pierce

> Hmm ... my comp has NO idle time anymore (8

even with prime95 running 24/7 on my Windows2000 system, it seems to come up
with a FEW idle cycles.  I figure its when prime95 gets paged out or
something.  I rebooted a couple of hours ago after photoshop blew up and
left the system kinda crispy, in the past 2h 48m, I show 3 minutes of idle
time has accumulated.  2:43 has gone to prime95.  the rest to everything
else i've done (hardly none to a number of edit windows, web browsers, etc).

-jrp


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Getting new GIMPSers

2001-03-25 Thread mohk

Hmm ... my comp has NO idle time anymore (8

At 10:08 PM 3/11/2002, you wrote:
>see http://www.freechess.org/ for a way to attract GIMPS members.
>
>Freechess.org RC5 cracking team
>
>Is your computer doing all it can? Do you have idle CPU cycles laying
>around that aren't doing anything for you? Put those extra cycles to work!
>Join the Freechess.Org RC5 cracking team! Team Freechess.Org is currently
>participating in the RC5 cracking effort hosted by distributed.net. For
>more information on the key cracking effort you are invited to vist
>http://www.distributed.net. This site has all the information on the
>cracking effort as well as the client you will need to join the team.
>
>If team Freechess.Org wins,
>
>- $6,000 US will go to a charity selected by the vote of all participants
>("The Gutenberg Project" is currently leading here),
>- $2,000 US will go to distributed.net for hosting the effort,
>- $1,000 US will go to the single person who finds the correct key (This
>could be you!), and finally
>- $1,000 US will go to FICS to use as they see fit.
>
>If you would like to see how our team is currently doing, please visit
>http://rc5stats.distributed.net/rc5-64/tmsummary.php3?team=4264.
>Team Freechess.Org looks forward to your participation! If you have any
>further questions, please send email to [EMAIL PROTECTED]
>
>_
>Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
>Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers