Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Improve performance on a Mac

Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
03-03-2005 09:34
Try putting this file into:

/System/Library/StartupItems/SystemTuning

(Replace the existing SystemTuning file or replace it) This means the command will run every time you reboot your Mac :)

You can also use Terminal to go to that directory and run

./SystemTuning

This will run those commands immediately and the effects should be instantaneous... so if you don't notice anything, don't complain, lol.

No promises, but for me it added about 20% to my frame rate and chopped the rez lag after tping and logging in to almost zero. It is a set of tips to increase network bandwidth.

CODE

#!/bin/sh

/usr/sbin/sysctl -w net.inet.tcp.sendspace=262144
/usr/sbin/sysctl -w net.inet.tcp.recvspace=262144
/usr/sbin/sysctl -w net.inet.tcp.delayed_ack=0
/usr/sbin/sysctl -w kern.ipc.maxsockbuf=2097152
/usr/sbin/sysctl -w kern.ipc.somaxconn=8192
/usr/sbin/sysctl -w net.inet.udp.recvspace=65535
/usr/sbin/sysctl -w net.inet.udp.maxdgram=57344
/usr/sbin/sysctl -w net.local.stream.sendspace=65535
/usr/sbin/sysctl -w net.local.stream.recvspace=65535

exit 0
Margaret Mfume
I.C.
Join date: 30 Dec 2004
Posts: 2,492
Mac OS users throughout Sl hail you as our leader
03-03-2005 10:20
ty
tyvm
thx
thanks
thank you
what I'm trying to say is
thanks for sharing
Margaret Mfume
I.C.
Join date: 30 Dec 2004
Posts: 2,492
Mac OS users throughout Sl say
03-03-2005 10:23
ty
thx
tyvm
thanks
thank you
thanks for sharing
thank you so very much
jester Knox
Sculpter of Water
Join date: 22 Apr 2004
Posts: 204
03-03-2005 11:08
ill admit to being a geek, but sadly im not at mymac, cause im at work... what exactly does this do? looks like you are changing the network setting, could you maybe post an explaination of what all the changes you made are and what they do?

also this should effect all information traviling over your network, so a general speed up for everything would happen, right?



thanks



jester
_____________________
people tell me my fountains are cool, come check them out at JesAma Fountains, Alviso (190,45) or if you arent in SL try Gigas (secondserver.net) or SLBoutique to shop for my products.
Andreyl Satyr
Registered User
Join date: 7 Mar 2004
Posts: 10
07-10-2005 00:57
Again Thanks for the info, its appreciated. I do agree though that an explanation of what this does would be nice for those unfamiliar with these commands, also maybe an explanation of what those numbers are based off of.
PetGirl Bergman
Fellow Creature:-)
Join date: 16 Feb 2005
Posts: 2,414
07-10-2005 03:12
Yep a lot more info pls.. I was looking and looking and dident find that folder...must ask my brother for help but more info would (probably) be great.. pls. pls..