LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2017, 04:30 AM   #1
aidylewis
LQ Newbie
 
Registered: Apr 2016
Posts: 25

Rep: Reputation: Disabled
IPv6 kernel tunings


Hi,

I am a load tester at the BBC in London.

I am testing latencies between IPv4 & IPv6.

I am using Ubuntu 16 LTS and this is my current sysctl.conf.

# /etc/sysctl.conf
net.ipv4.tcp_max_syn_backlog = 40000
net.core.somaxconn = 40000
net.core.wmem_default = 8388608
net.core.rmem_default = 8388608
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_intvl = 30
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_moderate_rcvbuf = 1
net.core.rmem_max = 134217728
net.core.wmem_max = 134217728
net.ipv4.tcp_mem = 134217728 134217728 134217728
net.ipv4.tcp_rmem = 4096 277750 134217728
net.ipv4.tcp_wmem = 4096 277750 134217728
net.core.netdev_max_backlog = 300000
net.ipv4.ip_local_port_range="1025 65535"

I have obviously increased ephemeral ports and the ulimit.

What optimisations do I need for IPv6?

Many Thanks

Aidy
 
Old 06-13-2017, 09:15 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Maybe there are some optimizations in this guide?

http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/

You can use this search to help if you want.
https://www.google.com/search?q=opti...kernel+options

What kind of optimizations do you want? More options for Address autoconfiguration? Mandatory multicast addresses? <trying to help as I'm not sure which ones you need>

Are you trying to adjust settings?

https://wiki.ubuntu.com/IPv6

Last edited by Ztcoracat; 06-13-2017 at 09:28 PM.
 
Old 06-13-2017, 09:52 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I found a list of optimizations in this /etc/sysctl.conf at the end of where IPv6 networking ends.
I'm thinking that they should be listed in your configuration file.

TCP and memory optimization : (just an example)

https://www.cyberciti.biz/faq/linux-...ity-hardening/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting global unicast ipv6 addresses on an interfaces does not remove neigbors/direct connect ipv6 hosts from kernel nd_tbl haldermi Linux - Networking 1 06-07-2016 02:28 PM
Linux IPv6 kernel programming christy.major Linux - Networking 1 02-18-2016 02:45 PM
[SOLVED] slackware 14.1, ipv6 netfilter kernel panic af7567 Slackware 3 07-22-2015 08:25 AM
How to add ipv6 support to kernel 2.4.21 raver Linux - Networking 4 08-14-2007 06:05 PM
Servers running kernel 2.4 not accepting anything via IPv6 frank_abacus Linux - Server 1 04-12-2007 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration