Hi guys.
I haven't seen any thread anywhere with the purpose stated in the title, albeit I've seen lots of hints scattered around in different posts. That's why I think there's potential for this kind of thread.
This is of course not a ZFS/server optimization thread -- there's plenty of that.
If I'm mistaking, please feel free to post a link the thread/guide.
The scenario I'm shooting for:
The user has already installed and enjoyed FreeBSD, Xorg and Desktop environment.
The user enjoys all the typical desktop things be it:
Graphical work, watching movies, playing native games and/or wine games etc.
The tinker within that user wants to play around with sysctl and/or other features, but need guidance as to what knobs to turn.. probably already has turned on a few knobs, perhaps even things that didn't matter.
Got any advice? Post it here.
I'll of course share what I've found so far (not alot!):
1. Edited make.conf to include CPUTYPE= and CFLAGS= -02 -pipe
I was told the compilation could be optimized by defining those values, making "better/smoother" binaries.
2. I found a post stating the following sysctl values (added to sysctl.conf)
3. In another post I found this sysctl value:
That's all I got so far.
Some might be completely pissed off by the fact, that I'm just blurping out stuff I quite honestly don't understand on any sort of deeper level. Yeh, sorry about that, but it's meant to be a general purpose tinkering/optimization thread where users can find inspiration to try different things. Not a benchmark of each proposed option. If this is completely against forum etiquette, please point me in the right direction.
NB:
Some things could be proposed, that are harmful to the system, so don't forget the common sense.
I haven't seen any thread anywhere with the purpose stated in the title, albeit I've seen lots of hints scattered around in different posts. That's why I think there's potential for this kind of thread.
This is of course not a ZFS/server optimization thread -- there's plenty of that.
If I'm mistaking, please feel free to post a link the thread/guide.
The scenario I'm shooting for:
The user has already installed and enjoyed FreeBSD, Xorg and Desktop environment.
The user enjoys all the typical desktop things be it:
Graphical work, watching movies, playing native games and/or wine games etc.
The tinker within that user wants to play around with sysctl and/or other features, but need guidance as to what knobs to turn.. probably already has turned on a few knobs, perhaps even things that didn't matter.
Got any advice? Post it here.
I'll of course share what I've found so far (not alot!):
1. Edited make.conf to include CPUTYPE= and CFLAGS= -02 -pipe
I was told the compilation could be optimized by defining those values, making "better/smoother" binaries.
2. I found a post stating the following sysctl values (added to sysctl.conf)
Code:
# Enhance shared memory X11 interface
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
3. In another post I found this sysctl value:
Code:
# Increase desktop responsiveness under high CPU use (200/224)
kern.sched.preempt_thresh=224
Some might be completely pissed off by the fact, that I'm just blurping out stuff I quite honestly don't understand on any sort of deeper level. Yeh, sorry about that, but it's meant to be a general purpose tinkering/optimization thread where users can find inspiration to try different things. Not a benchmark of each proposed option. If this is completely against forum etiquette, please point me in the right direction.
NB:
Some things could be proposed, that are harmful to the system, so don't forget the common sense.