Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
08-27-2007, 11:57 AM
(This post was last modified: 08-27-2007, 02:43 PM by erictooth.)
I recently installed FreeBSD 6.2 and have followed one of the guides on here about setting it up from a minimal install. I also recompiled the kernel with HZ=1000, and after using sysctl kern.clockrate it reports that my tweak definitely worked. However, when I start SRCDS, I get about 486 FPS (yes I have done fps_max 0).
I have made 1000fps servers many times on FC4/5/6 without a problem, but the better timer stability on FreeBSD is why I switched. Here is what I get after doing the sysctl thing:
kern.clockrate: { hz = 1000, tick = 1000, profhz = 666, stathz = 133 }
Hope that helps.
Edit: I am thinking that FreeBSD 5.5 may work better because I have heard of problems with 6.x. Any ideas on that?
Well, I've installed 5.5 and recompiled the kernel, and I am still seeing about 468 FPS, however the cpu usage has dropped by 17% on an empty server.
Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
Any ideas on how to get 1000FPS on freebsd?
Posts: 700
Threads: 19
Joined: May 2007
Reputation:
0
After doing some reading (i dont use FreeBSD myself) it only needs kern.clockrate changed in a config file which you seem to of already done.
If your server is getting 468 FPS then im pretty sure you set the hz to 1000 - but 1000hz isn't guaranteed.
What kind of specs is your server?
Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
09-01-2007, 12:46 PM
(This post was last modified: 09-01-2007, 12:48 PM by erictooth.)
My server definitely has the required specs -- I have a Xeon (the old P4 one) 2.8GHz, 1 gig of ram, etc. It seems as though it simply can't go beyond 490 FPS although I have easily gotten 1000 fps before on this server in FC6, but the fps was very jumpy and FreeBSD is much more stable. I know it can be done (to get 1000FPS on FreeBSD), but I am totally stumped as to what I am doing wrong.
Posts: 728
Threads: 2
Joined: May 2006
Reputation:
0
well for me to get 1000 in linux you set the timer to MORE than 1000hz, so try setting it to 1500 and seeing what happens.
Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
Alright, I'll try that and I'll let you know how that works.
Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
09-02-2007, 03:45 PM
(This post was last modified: 09-02-2007, 03:49 PM by erictooth.)
I went ahead and just compiled it at 2000HZ and after setting fps_max 0 (and 1000) it says FPS: 667 now. If I can't get it to work (and I know people have gotten FreeBSD to run a server at 1000FPS) I guess I'll just use FC6 (which doesn't have a very accurate system clock compared to FreeBSD though).
Posts: 728
Threads: 2
Joined: May 2006
Reputation:
0
more important than 1000 is a steady number, any number it can be 333 or 500 or 1000, if your server (set to 1000) fluctuates wildly from 1000 to 200 to 100 to 800, etc it's actually worse than a server that stays 500 +/- 50.
Posts: 15
Threads: 3
Joined: Aug 2007
Reputation:
0
09-02-2007, 04:40 PM
(This post was last modified: 09-04-2007, 11:30 AM by erictooth.)
That's the reason why I wanted to try FreeBSD because I can get the system clock to about +/- .25 FPS when its stuck at 500 fps (like rcon stats shows 500.00 FPS most of the time, sometimes 500.25). But I want it to be at 1000 and I don't know whats wrong.
So noone on here has ever made a 1000FPS FreeBSD server before?