Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

[TUTO] Speed up Silverish AI with procexp
Somerandombot007
#1 Posted : Monday, April 18, 2016 3:49:01 PM(UTC)
Somerandombot007


Rank: Advanced Member

Groups: Registered
Posts: 33
Location: Zurich

Thanks: 63 times
Was thanked: 20 time(s) in 12 post(s)
Hi I just want to show you how i could improve my silverfish performance: I noticed that the Processpriority of silverfish is set to background by default. When i changed it to realtime, my CPU Utilisation vent streight to a high level evry time silverfsih is calculating.

1) You Have to get procexp (you can do it in the task manager but i prefer doing it with procexp) Download Procexp from Microsoft

2) you have to start Hearthranger and silverfish.

3) Start procexp.exe as admin by reighklicking it and hit : run as Administrator

4) look for silvefsih.exe (If you started it by hearthranger it should be right below it)

5) right click it and Set priority to realtime

6) Done

PS: I noticed that my PC freezes when silverfsih does calculations because it uses all CPU power I assume. As soon as its done calculationg it "defreezes" and continues normally.

My specs: 12x3.46 GHz with Hyperthreading so 24 Threads 128GB Ram ( don't ask Server Hardware it is)

I could probabbly add Screenshots of the usage graph if there is a need :)

CPU USAGE GRAPH BEVORE

CPU USAGE GRAPH AFTER

(It's not the same turn that had been calculated, but as you can se the CPU Usage bevore is kind of low at teh starts and continues to rais as longer as its calculating. With the change it always goes straight up to the max)
1 user thanked Somerandombot007 for this useful post.
alabatusa on 4/18/2016(UTC)
er009
#2 Posted : Monday, April 18, 2016 11:42:37 PM(UTC)
er009


Rank: Advanced Member

Groups: Registered
Posts: 238
Man
Location: EU

Thanks: 61 times
Was thanked: 56 time(s) in 42 post(s)
Out of couriosity, if you have that kinda of server then why don't you just slap it in a VM?
alabatusa
#4 Posted : Monday, April 18, 2016 11:57:41 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 42

Thanks: 11 times
Was thanked: 13 time(s) in 10 post(s)
You struggle with 24 threads and 128 gb?

I'm running it on Celeron 3.2ghz with 2 cores, and it seems fine.

Does rope sometime, haven't changed SF basic settings. How many calculations do you seem to do?

Is there a big performance difference by doing this?


Somerandombot007
#3 Posted : Tuesday, April 19, 2016 6:21:22 PM(UTC)
Somerandombot007


Rank: Advanced Member

Groups: Registered
Posts: 33
Location: Zurich

Thanks: 63 times
Was thanked: 20 time(s) in 12 post(s)
er009;37160 wrote:
Out of couriosity, if you have that kinda of server then why don't you just slap it in a VM?

I do have Vmware esxi installed but the video card passtrough does not work as i liked it to. so i rarly use ESXi and just dual boot Mac os x for video editing and windows for botting. On mac I have vmware fusion so i can export Videos while let the bot run in a Windows VM
Somerandombot007
#5 Posted : Thursday, April 21, 2016 1:31:07 PM(UTC)
Somerandombot007


Rank: Advanced Member

Groups: Registered
Posts: 33
Location: Zurich

Thanks: 63 times
Was thanked: 20 time(s) in 12 post(s)
alabatusa;37161 wrote:
You struggle with 24 threads and 128 gb?

I'm running it on Celeron 3.2ghz with 2 cores, and it seems fine.

Does rope sometime, haven't changed SF basic settings. How many calculations do you seem to do?

Is there a big performance difference by doing this?




My settings are:

enfacehp = 30;
maxwide = 13500;
twotsamount = 2700;
simEnemySecondTurn = true;
playarround = true;
playaroundprob = 50;
playaroundprob2 = 80;
enemyTurnMaxWide = 54;
enemyTurnMaxWideSecondTime = 540;
enemySecondTurnMaxWide = 54;
nextTurnDeep = 6;
nextTurnMaxWide = 54;
nextTurnTotalBoards = 540;
useSecretsPlayArround = true;
alpha = 50;
simulatePlacement = true;
useExternalProcess = true;
passiveWaiting = false;
behave = control;
concedeOnBadBoard = false;
speed = false;

For me it changed the CPU Usage drastically it flies trough the deep 6 len 6.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.054 seconds.