ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000373ClearOSapp-firewall - Firewallpublic2011-10-24 12:592012-04-18 19:39
Reporteruser2 
Assigned Todsokoloski 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version6.2.0 Beta 2Fixed in Version6.2.0 Beta 2 
Summary0000373: Increase some network threshold values
DescriptionAs recommended by a friendly partner with 8GB of memory (use smaller values if you have less RAM):

sysctl -w net.ipv4.neigh.default.gc_thresh1=2048
sysctl -w net.ipv4.neigh.default.gc_thresh2=8192
sysctl -w net.ipv4.neigh.default.gc_thresh3=16384

Default values:
sysctl -w net.ipv4.neigh.default.gc_thresh1=128
sysctl -w net.ipv4.neigh.default.gc_thresh2=512
sysctl -w net.ipv4.neigh.default.gc_thresh3=1024

Additional InformationMaybe we should tune these values based on the amount of RAM. Assuming a linear-ish relationship based on the 8GB recommendation, how about:

if (>8 GB)
  gc_thresh1=1024
  gc_thresh2=4096
  gc_thresh3=8192
if (>4 GB)
  gc_thresh1=512
  gc_thresh2=2048
  gc_thresh3=4096
if (>2 GB)
  gc_thresh1=256
  gc_thresh2=2048
  gc_thresh3=4096
else
  gc_thresh1=256
  gc_thresh2=1024
  gc_thresh3=2048
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000378)
user2
2011-10-24 12:59

Source Code Changelog
---------------------------------------------------
- Tuned some sysctl values [tracker 0000373]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=2392 [^]
U webconfig/apps/firewall/trunk/deploy/firewall.lua
(0000382)
user2
2011-10-24 13:54

Toned down values:
http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=2394 [^]
(0000386)
dsokoloski (developer)
2011-10-28 16:48

Source Code Changelog
---------------------------------------------------
- Added neighbor table tuning according to RAM size, retabbed source (removed tabs) [fixed tracker 0000373]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=2431 [^]
U webconfig/apps/firewall/trunk/deploy/firewall.lua
U webconfig/apps/firewall/trunk/deploy/libfirewall.lua
U webconfig/apps/firewall/trunk/deploy/libmultipath.lua

- Issue History
Date Modified Username Field Change
2011-10-24 12:59 user2 New Issue
2011-10-24 12:59 user2 Status new => assigned
2011-10-24 12:59 user2 Assigned To => user2
2011-10-24 12:59 user2 Checkin
2011-10-24 12:59 user2 Note Added: 0000378
2011-10-24 13:00 user2 Fixed in Version => 6.1 Beta 2
2011-10-24 13:07 user2 Status assigned => resolved
2011-10-24 13:07 user2 Resolution open => fixed
2011-10-24 13:54 user2 Note Added: 0000382
2011-10-24 13:55 user2 Description Updated
2011-10-24 13:57 user2 Assigned To user2 => dsokoloski
2011-10-24 13:57 user2 Status resolved => assigned
2011-10-24 14:03 user2 Description Updated
2011-10-24 14:03 user2 Additional Information Updated
2011-10-28 16:48 dsokoloski Checkin
2011-10-28 16:48 dsokoloski Note Added: 0000386
2011-10-28 16:48 dsokoloski Status assigned => resolved
2012-04-18 19:39 user2 Status resolved => closed