Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (-1) | Shanky.com
Subgame stalling XP's explorer? not only I.

 
Post new topic   Reply to topic Printable version
 View previous topic  [Game]Timer= Post :: Post ?message "My squad"  View next topic  
Author Message
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Aug 19, 2003 11:41 am    Post subject: Subgame stalling XP's explorer? not only I. Reply to topic Reply with quote

I'm not exactly sure where I'd go to post this, so if a mod wants to lock/delete/move this is cool.

Does anyone else notice that subgame2 stalls XP's explorer when you go to navigate through it. It's not only on my machine that this is done, but as soon as I shut down subgame2 it unstalls the Explorer window and let's me on my way...

I thought I heard that they had been fixing something w/ NT and subgame or something?

Any insights.. as far as i remember, this never happened back when I hosted in subspace 1.34, w/e the subgame is on the SS CD...

Thanks again
cyp
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Tue Aug 19, 2003 2:50 pm    Post subject: Reply to topic Reply with quote

This is because subgame runs on a sleep/loop method. In other words, it works, then sleeps for very small ammount of time. That small ammount of time equals out to about nothing, so it eats a LOT of CPU usage, fast.

Two ways to fix it:
  1. For NT systems, open Task Manager, and set subgame to low priority.
  2. In server.ini, set [CPU] SleepTime=0 to something a bit more than nothing (default). 5 or 10 can help without causing much of a delay.
  3. Start to learn to use ASSS, a linux (and ported to windows also) server software, that instead of sleeping/working, it actually waits for packet to come before it works. So, each cycle on ASSS actually does something, while each cycle on subgame might have a chance that it does something.
Back to top
View users profile Send private message Add User to Ignore List Send email
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Aug 19, 2003 4:15 pm    Post subject: Reply to topic Reply with quote

Well I'm running it on Win2000 with a 1.2gHz processor and it uses 0% of my CPU, when there's no human players in. Of course it goes up when I'm actually doing stuff.
Server.ini settings:
[CPU]
LoopDelay=0
ProcessMaxTime=4
SleepPerIteration=0
SlowIterationWarningLevel=100
SleepTime=5
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Aug 19, 2003 9:45 pm    Post subject: Reply to topic Reply with quote

I'll try those settings as soon as I reload the server software off my backup cd ... just got done formatting icon_sad.gif grr windows! _sighs_

MGB: where can u find the windows binaries to asss?

thanx,
cyp
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Tue Aug 19, 2003 11:20 pm    Post subject: Reply to topic Reply with quote

CypherJF wrote:
MGB: where can u find the windows binaries to asss?

http://forums.minegoboom.com/viewtopic.php?t=559
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 48 page(s) served in previous 5 minutes.

phpBB Created this page in 0.217214 seconds : 29 queries executed (85.4%): GZIP compression disabled