It is only for DPM disk servers. There is new code in the
config_DPM_disk function (see below). I've submitted a ticket about this:
https://gus.fzk.de/pages/ticket_details.php?ticket=21713
Also, DPM now runs a BDII as a replacement for Globus MDS.
Cheers,
Greig
# Tuning /etc/sysctl.conf
yaimlog INFO "Tuning /etc/sysctl.conf. Present state saved to
/etc/sysctl.co
nf.orig."
rm -f /etc/sysctl.conf.orig
cp /etc/sysctl.conf /etc/sysctl.conf.orig
totalline=`wc /etc/sysctl.conf | awk '{print $1}'`
startline=`grep -n "Beginning of YAIM" /etc/sysctl.conf | cut -f 1
-d ":"`
if [ -z $startline ]; then
startline=$totalline;
else
startline=$(($startline-1))
fi
endline=`grep -n "End of YAIM" /etc/sysctl.conf | cut -f 1 -d ":"`
if [ -z $endline ]; then
endline=$totalline;
fi
tailnum=$(($totalline-$endline))
rm -f /tmp/sysctl.yaim
head -n $startline /etc/sysctl.conf > /tmp/sysctl.yaim
cat << EOF >> /tmp/sysctl.yaim
# Beginning of YAIM additions - do not delete/modify this line
# TCP buffer sizes
net.ipv4.tcp_rmem = 131072 1048576 2097152
net.ipv4.tcp_wmem = 131072 1048576 2097152
net.ipv4.tcp_mem = 131072 1048576 2097152
net.core.rmem_default = 1048576
net.core.wmem_default = 1048576
net.core.rmem_max = 2097152
net.core.wmem_max = 2097152
# SACK and timestamps - turn off
net.ipv4.tcp_dsack = 0
net.ipv4.tcp_sack = 0
net.ipv4.tcp_timestamps = 0
# Network backlog
net.core.netdev_max_backlog = 10000
# End of YAIM additions - do not delete/modify this line
EOF
brian davies wrote:
> YAIM is changing TCP window settings?
> since when?
> Is this only for DPM?
> Who picked the numbers?
> Brian
> On 09/05/07, *Greig Alan Cowan* < [log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> Hi Andrew (cc storage),
>
> Andrew Elwell wrote:
> > Hi Greig, You couldn't do a diff between the 2 sysctl settings
> could you?
> >
>
> Here is the new sysctl.conf file. YAIM just adds a section in at the end
> of the original file.
>
> Greig
>
> # Kernel sysctl configuration file for Red Hat Linux
> #
> # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
> # sysctl.conf(5) for more details.
>
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 0
>
> # Controls source route verification
> net.ipv4.conf.default.rp_filter = 1
>
> # Do not accept source routing
> net.ipv4.conf.default.accept_source_route = 0
>
> # Controls the System Request debugging functionality of the kernel
> kernel.sysrq = 0
>
> # Controls whether core dumps will append the PID to the core filename.
> # Useful for debugging multi-threaded applications.
> kernel.core_uses_pid = 1
> # Beginning of YAIM additions - do not delete/modify this line
>
> # TCP buffer sizes
> net.ipv4.tcp_rmem = 131072 1048576 2097152
> net.ipv4.tcp_wmem = 131072 1048576 2097152
> net.ipv4.tcp_mem = 131072 1048576 2097152
> net.core.rmem_default = 1048576
> net.core.wmem_default = 1048576
> net.core.rmem_max = 2097152
> net.core.wmem_max = 2097152
> # SACK and timestamps - turn off
> net.ipv4.tcp_dsack = 0
> net.ipv4.tcp_sack = 0
> net.ipv4.tcp_timestamps = 0
> # Network backlog
> net.core.netdev_max_backlog = 10000
>
> # End of YAIM additions - do not delete/modify this line
>
>
|