Cant connet.

27 replies [Last post]
madbringer
Madbringer's picture
Offline
Joined: Jan 2006
Posts:
Cant connet.

Those hitches could be caused by quake not being able to allocate enough memory, thus buffering thru hd. Try setting com_hunkmegs to something like 128 or 192. Or maybe tweak sv_fps and sv_maxrate? Hm. Also, check if those hitches are present on the server if pb is off. Small, but pain-in-the-ass lockups sound suspiciously like a pb problem.

.ALIAS.
Offline
Joined: Sep 2005
Posts:
Cant connet.

the Hitch Warnings mean how much miliseconds of lag there was, like if you click and hold on the console window, it will cause a hitch warning. Usualy Hitch warnings are caused by RAM ( Or i think they are Big grin ), Like if you don't have enough ram, you will get them. A sign that you need more ram is when your ping isn't 0 and you have lag spikes that arn't normal small lag spikes.

Your CPU is also very bad. I think 1% of a p2 is a lot different than 1% of a p4. Pentium 4's are a lot more powerful than Pentium 2's.

My suggestion is this: If you have winxp running on that, take it off and run maybe win98 ( it uses less ram ), also don't use that computer for anything other than a server, it will lag if you do.

@Madbringer

com_hunkmegs would be a good idea, set it at at least 128, something like 96 is good for 128mb or less, so higher than 128, it dedicates more ram to the server.

sv_fps has to do with snaps and stuff. The higher you go, the higher the pings, set that at 20.

sv_maxrate is how much bandwidth you want to send to each player, try 10000 and bring it up 200 each time, you might not have a lot of bandwidth.

When your on your server, this might help, it helps me sometimes, set your "rate" at 3000 ( /rate 3000 ) it makes you use less of your connection, and it shouldn't cause lag because your close to where the server is.

madbringer
Madbringer's picture
Offline
Joined: Jan 2006
Posts:
Cant connet.

Quote:
sv_fps has to do with snaps and stuff. The higher you go, the higher the pings, set that at 20.

Um, no.

sv_fps controls how much frames per second will be send from the server to the client. If the server sends too little frames, it could cause those lockups. So setting it higher than 20 (which is default, btw) is probably a good idea. (maybe around 60-80? with 1mb upload it shouldn't be a problem)

Maxrate @ 10000 should be more than enough for two players. (4000 is enough for my 64 kb upload @ two players, no lockups, ping 30-40).

You have a point about the cpu, tho. If all else fails that probably would be the problem.

.ALIAS.
Offline
Joined: Sep 2005
Posts:
Cant connet.

sv_fps 60 - 80 would cause high pings.

It is probably his CPU & RAM, how old is it...10, 12 years?

.ALIAS.
Offline
Joined: Sep 2005
Posts:
Cant connet.

Quote:
Nope the server is running on a stand alone server.

CPU: P2 400Mhz
MEM: 320Mb sdram
Bandwidth: 8Mbit down, 1Mbit up
Processes: 30 including the server

Got like 17% cpuload and 100mb+ free ram. I just noticed that the server was configured to use 75mb so i raised it to 100. Maybe its cus it needs to swap.

Btw i know the hardware aint much but it should atleast hande 2 players...

Theres your problem right there. com_hunkmegs "number" is what percent of your ram you want the server to use. 100% of your ram with 30 processes running isn't possible. 320MB of ram is a good number for a q3 server.

Use this setting:
com_hunkmegs "50" // Uses 50% of your computer's ram..160mb

"This is pretty standard today. Back when Quake firs came out memory was not as much of a commodity as it is today. Anyway, this just means that your server will have 50MB of memory allocated to the game. 56 is the recommendation, and really that is more then enough for a dedicated server. In theory, you can set this as high as 75% the memory installed on your PC. So if you have 100MB memory (nice round number) you can allocate up to 75MB only"

Maybe I didn't get it right lol

madbringer
Madbringer's picture
Offline
Joined: Jan 2006
Posts:
Cant connet.

If you set com_hunkmegs to 50, quake will reserve 50mb ram. If you set it to 256 it will reserve 256mb ram. It's not percents Shock The example you posted in the quoted text shows that you should set com_hunkmegs to such a number that 75% of your ram total will be reserved for quake. If you have 256mb ram set it to 192. Happy If you have 192, set it to 144 etc etc

_fr33man_
Offline
Joined: Jul 2006
Posts:
Cant connet.
madbringer wrote:

If you set com_hunkmegs to 50, quake will reserve 50mb ram. If you set it to 256 it will reserve 256mb ram. It's not percents Shock The example you posted in the quoted text shows that you should set com_hunkmegs to such a number that 75% of your ram total will be reserved for quake. If you have 256mb ram set it to 192. Happy If you have 192, set it to 144 etc etc

This comes too much for my understandings. Setting 192 on 256MB machine is only a good idea for a Linux shell in a non-graphical mode with no other services running(Apache, MySql, etc.). But on a XP desktop this will no doubt lead to a reverse effect, as this "amazing" OS is usually eating everything it sees. Big grin

If you want the rainbow, you have to pass through the rain.

madbringer
Madbringer's picture
Offline
Joined: Jan 2006
Posts:
Cant connet.

Yes, i know, i was just explaining the example Alias posted, looks like he misunderstood it Tongue Yeah now i see my err, i should say "you can" not "you should". Ok, let's assume that if one has less than 512mb ram, safe limit for him should be 50-65% percent of his ram (depending on the actual amount of ram) for com_hunkmegs.

.ALIAS.
Offline
Joined: Sep 2005
Posts:
Cant connet.

Hmm..I thought it wasn't percents also, and than someone told me it was percents Laughing

HYPER*SMORGAR
smorgar's picture
Offline
Joined: May 2006
Posts:
Cant connet.

Okey, i dont wanna be rude or anything but are you fucking kidding me!?

First off, why in gods name would the server need more CPU when its like using 10% of my current P2 400Mhz CPU?

Second, if you read my posts you will se that i raised the hunkmegs to 100 and that seems to be enough for my little server.

Well i solved the problem myselfe. Turned off the PB and now the server runs like a god.

Alias I dont mean any disrespect or something but ffs man get your facts straight before you try to make ppl wiser :]

And I werry much appreciate all the help ive been given. Thx!

I don't have to be careful, I've got a gun.