Saving memory (/proc/sys/net/core/*)

Saving memory (/proc/sys/net/core/*)

Post by Joel Jacobso » Wed, 20 Oct 1999 04:00:00


I need to save memory per TCP connect to my mailserver.

This is my system:
Processor: Pentium II 400MHz
RAM: 256MB
OS: GNU system with a Linux 2.2.12 kernel

What do you think I should set all the values in the directory in the
subject to?

Thanks in advance.

Best regards, Joel Jacobson


1. modify /proc/sys/net/core/wmem_max from a kernel module


I wourld like to modify "sysctl_wmem_max" and the "sysctl_wmem_default"
(sock.c) from a kernel module.
My problem is that those variables are not exported so i can modify them
from a module.
I tryied to modify them through root_table / net_table / core_table
(ctl_table) but the root_table is also not exported.

How can i do that from the kernel ?

Thanks a lot for helpers
Jerome Tollet
Jerome Tollet

2. Auditing Users

3. /proc/net/tcp and /proc/net/udp

4. X hangs :(

5. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c

6. How to mount FreeBSD partitions under OpenBSD?

7. /proc/net/route, /proc/net/rt_cach, sysctl ??

8. bindkey -v in tcsh

9. Oddity with /proc/sys/net/ipv4/conf/all

10. New: Divide by zero (/proc/sys/net/ipv4/neigh/DEV/base_reachable_time)

11. /proc/sys/net/ipv4/ip_forward problem

12. What's the equivalent of /proc/sys/net/ipv4/ip_always_defrag in v2.3?

13. echo 0 > /proc/sys/net/ipv4/tcp_timestamps per [session, reboot, connection]?