PDA

View Full Version : How to get started



IronBits
09-21-2007, 07:04 PM
1) Download the client, make a directory called C:\dcprojects
2) cd \dcprojects
3) make a directory called EON
4) Extract the client you download into c:\dcprojects\EON
5) Edit c:\dcprojects\EON\Client.cfg with Notepad, not wordpad (thanks PCZ!)

Create and run this batch file first

@echo off
:: Filename: EonCreate8.bat
:: get on the right drive letter
c:
:: Make necessary directory structures
for %%i in (1 2 3 4 5 6 7 8) do mkdir \dcprojects\EON%%i
:: Copy all the files from EON directory to all the new directories just created
for %%i in (1 2 3 4 5 6 7 8) do copy \dcprojects\EON \dcprojects\EON%%i /y
:: tell the user we done all that
echo Done!

-------

Create and run this to start them up
@echo off
:: Filename: EonStart8.bat
:: get on the right drive letter
c:
:: start 8 Eon clients, one per directory
for %%i in (1 2 3 4 5 6 7 8) do cd \dcprojects\eon%%i & start /min client.exe
:: tell the user we done that
echo Done!

-----

Create and run this to kill off all the clients at once
@echo off
:: Filename: EonStop.bat
pskill client
:: If you don't have SysInternals pskill (and you should!)
:: or you might use this instead
TaskKill /IM client.exe

Adjust the amount of clients you want between the parans. (1 2 3 4) would setup and start 4 clients

Most of you can take it from there I'm sure... ;)

IronBits
09-22-2007, 04:17 PM
@echo off
:: Filename: EonCreate16.bat
:: get on the right drive letter
c:
:: Make necessary directory structures
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16) do mkdir \dcprojects\EON%%i
:: Copy all the files from EON directory to all the new directories just created
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16) do copy \dcprojects\EON \dcprojects\EON%%i /y
:: tell the user we done all that
echo Done!

-------

Create and run this to start them up
@echo off
:: Filename: EonStart16.bat
:: get on the right drive letter
c:
:: start 16 Eon clients, one per directory
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16) do cd \dcprojects\eon%%i & start /min client.exe
:: tell the user we done that
echo Done!

IronBits
09-22-2007, 04:21 PM
@echo off
:: Filename: EonCreate32.bat
:: get on the right drive letter
c:
:: Make necessary directory structures
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32) do mkdir \dcprojects\EON%%i
:: Copy all the files from EON directory to all the new directories just created
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32) do copy \dcprojects\EON \dcprojects\EON%%i /y
:: tell the user we done all that
echo Done!

-------

Create and run this to start them up
@echo off
:: Filename: EonStart32.bat
:: get on the right drive letter
c:
:: start 32 Eon clients, one per directory
for %%i in (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32) do cd \dcprojects\eon%%i & start /min client.exe
:: tell the user we done that
echo Done!

jasong
07-07-2008, 09:08 PM
One very important observation and then a question.

First, and this is VERY IMPORTANT: If you copy ALL the files in the initial installation to new directories, then after an indeterminate amount of time ALL of your instances will be doing the exact same work. Instead, only copy client.exe client.cfg and key.pub .

Now the question: How do you make the instances start at a higher priority? I'm running BOINC to soak up the extra cycles, but I want Eon to dominate when it has work.