jonkogan / nullpomino

Automatically exported from code.google.com/p/nullpomino
0 stars 0 forks source link

performance problem when using AI for netplay #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. turn AI on for 1P
2. enter netplay
3. play for some games

What is the expected output? What do you see instead?
cpu usage is low for the first few games, but soon increases, eating a full 
core, and gets slower and slower.

What version of the product are you using? On what operating system?
v7.5.0 stable, win7 32-bit

Please provide any additional information below.
http://imgur.com/s50aYca
see pic above, after finishing several games, while waiting, the windows 
service CryptSvc running with full power.
when i quit the room, the cpu usage of javaw.exe returns to around 1%.
for comparison, i created a new room, then CryptSvc starts takeing about 3.0% 
on average (windows resource monitor says), and javaw is 3.3%, so seems it's 
also CryptSvc taking most part....

so.... forgot to stop some “encryption” when AI stops running for a game on 
netplay?

Original issue reported on code.google.com by farter...@gmail.com on 13 Jun 2013 at 2:14

GoogleCodeExporter commented 8 years ago
another time... ran ~80 games, using a bot modified from the original "basic".
http://imgur.com/NwxTSfb
SSDP Discovery O_o
since it's the only process taking so much cpu time, it's sure the service is 
called by javaw.

Original comment by farter...@gmail.com on 22 Apr 2014 at 10:41