Results 1 to 40 of 105

Thread: P-1 coordination thread - discussion

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Moderator Joe O's Avatar
    Join Date
    Jul 2002
    Location
    West Milford, NJ
    Posts
    643
    Quote Originally Posted by glennpat
    I started a p-1 thread on the XtreamSystem asking for some p-1 help and how to get started. Thanks for putting the worktodo.ini files in the other coordination thread. I don't think it was there when I started and will help me and new people.

    Now for the quad prices to drop .
    No, the worktodo.ini files were not there when you started. Your experience starting up, and that of jasong and others, prompted me to do that. It is also the easiest way to provide just the unfactored k n pairs, and keep it relatively up to date. You are welcome.
    Joe O

  2. #2
    I want to start another range. The next available range starts at 14037000. The next PRP is at 13900361. I am only going to run on 1 core. Should I take the next available range or should I skip ahead to something like 14100000? Thanks

  3. #3
    Senior Member engracio's Avatar
    Join Date
    Jun 2004
    Location
    Illinois
    Posts
    237
    Quote Originally Posted by glennpat
    I want to start another range. The next available range starts at 14037000. The next PRP is at 13900361. I am only going to run on 1 core. Should I take the next available range or should I skip ahead to something like 14100000? Thanks

    I think you'll be okay unless somebody joins and start grabbing hundreds of wu's. Or another runaway proxy


    e

  4. #4
    Thanks. I took the next available.

  5. #5
    Can someone tell me how to use multiple worker threads in Prime95 on Windows XP? I am using mprime on another machine, and the nice thing about it is that I only start one instance of mprime and it creates two worker threads for the dual-core processor I have in that machine.

    I have a dual-core processor on this machine as well, but it runs windows, and I have had a heck of a time trying to figure out how to get Prime95 to do the same thing. I think I found something that said that it's possible to do this on the Windows version, but there aren't any details how. People also make reference to stress testing where multiple threads are executed simultaneously.

    One other nice thing about the multiple threads is that when one thread is in stage 2 and using lots of memory, the other thread will try to find other stage 1 work to do as not to use up even more system memory.

    My question basically revolves around the worktodo.ini file structure. In the mprime version of the program, the structure is as follows:

    [Worker #1]
    Pminus1=blah blah blah
    Pminus1=blah blah blah

    [Worker #2]
    Pminus1=blah
    Pminus1=blah

    and the program automatically recognizes what work is assigned to which thread. I tried putting this structure into the Prime95 worktodo.ini, but to no avail. Has anyone gotten this to work?

    Update: Nevermind. I now find that the official release version of Prime95 does not support multithreading, while the latest version (25.4), available on the Mersenne Forums, does support multithreading. This is nice from the standpoint that it can start multiple threads and one can designate each thread to run on a separate core, but apparently the author had to make a change to the p-1 save file format to allow for larger B2 bounds, so the save file formats are not compatible. Anyone considering upgrading should keep this in mind -- finish up both stages of a number using the old client and THEN switch

    On another note, does anyone have any information regarding the justification behind choosing B1 and B2 bounds? How do we estimate the probability that on a given number of the form k*2^n+1, a B1/B2 pair of bounds gives ____ % chance of finding a factor? A screenshot from an old version of Prime95 on someone's web site shows this estimate in the output of the program, but it appears that this is not in the final version. Even a rough estimate would be useful for getting a hold on these B1 and B2 bounds...
    Last edited by SlicerAce; 11-19-2007 at 07:08 PM.

  6. #6
    Senior Member engracio's Avatar
    Join Date
    Jun 2004
    Location
    Illinois
    Posts
    237
    Joe,

    When you created the worktodo for P1 you used B1=130000 B2=2200000 as the bounds. Is that the general consensus on what the bounds should be at this level? I've always used sieve depth and factor value. It's just a tad higher when I was factoring around 13.5m. Just wondering?

    Also being it has been a while since I factored, I do not remember getting the residues from the factored wu. Now as it completes it leaves a residue. What do we do with it? Throw it on the trash bin? Thanks.

    e

  7. #7
    Moderator vjs's Avatar
    Join Date
    Apr 2004
    Location
    ARS DC forum
    Posts
    1,331
    e,

    The residue is from the first stage. You could reuse that residue to calculate the second step on a different machine or using different bounds than the first step.

    In all realitiy for our purposes its a trash bin if you decide to run the tests in the normal way, step one then step two with reasonable bounds from the begininning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •