News from da outaworlds |
mail files register groups login |
Message-ID: |
Subject | Author |
Linux Performance Tuning | Farley Flud |
Re: Linux Performance Tuning | DFS |
Re: Linux Performance Tuning | Lawrence D'Oliveiro |
Re: Linux Performance Tuning | Chris Ahlstrom |
Re: Linux Performance Tuning | Joel |
1 |
Don't ever accept defaults. Always tune your machine.
Beyond build configuration, there is the possibility of
run-time tuning via "sysctl:"
man sysctl
Do a search for "linux kernel performance tuning" and
plenty of info will be available.
Here is my sysctl.conf:
# disable ASLR security bullshit
kernel.randomize_va_space=0
# aggressive network settings
net.core.netdev_max_backlog = 65536
net.core.optmem_max = 65536
net.core.rmem_default = 1048576
net.core.wmem_default = 1048576
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_no_metrics_save = 1
#To disable IP source routing (SRR), so that nobody can tell us which path a packet should take:
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
#By default, routers route everything and even packages which don't belong
#to their network(s). To avoid that we've to make sure strict reverse path filtering is enabled as defined in RFC3704:
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_mtu_probing = 1
#
vm.dirty_ratio = 10
vm.dirty_background_ratio = 5
On 8/11/2024 7:42 AM, Lameass Larry wrote:
> Don't ever accept defaults. Always tune your machine.
Don't ever use your Linux box. Always tinker with it for 4 hours to
save 3 seconds 2 times a year.
On Sun, 11 Aug 2024 09:06:22 -0400, DFS wrote:
> Don't ever use your Linux box. Always tinker with it for 4 hours to
> save 3 seconds 2 times a year.
As opposed to Windows, where you have to continually keep running to stay
in the same place, always tinkering after every system update, to try to
get back at least some of the performance that Microsoft keeps taking from
you.
Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:
> On Sun, 11 Aug 2024 09:06:22 -0400, DFS wrote:
>
>> Don't ever use your Linux box. Always tinker with it for 4 hours to
>> save 3 seconds 2 times a year.
>
> As opposed to Windows, where you have to continually keep running to stay
> in the same place, always tinkering after every system update, to try to
> get back at least some of the performance that Microsoft keeps taking from
> you.
There's a certain satisfaction to solving an "issue" on Linux that boosts one's
productivity for years.
--
Q: What did Tarzan say when he saw the elephants coming over the hill?
A: "The elephants are coming over the hill."
Q: What did he say when saw them coming over the hill wearing sunglasses?
A: Nothing, for he didn't recognize them.
DFS <nospam@dfs.com> wrote:
>On 8/11/2024 7:42 AM, Lameass Larry wrote:
>
>> Don't ever accept defaults. Always tune your machine.
>
>Don't ever use your Linux box. Always tinker with it for 4 hours to
>save 3 seconds 2 times a year.
openSUSE is just a clever distro that is easier to use than Larry's
barebones setup, I'm living in an efficient desktop environment and
he's just wasting effort, little by little.
--
Joel W. Crump
Amendment XIV
Section 1.
[...] No state shall make or enforce any law which shall
abridge the privileges or immunities of citizens of the
United States; nor shall any state deprive any person of
life, liberty, or property, without due process of law;
nor deny to any person within its jurisdiction the equal
protection of the laws.
Dobbs rewrites this, it is invalid precedent. States are
liable for denying needed abortions, e.g. TX.
1 |