|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 12 Aug 2004 10:39:34 To : All Subject : Вести с полей --------------------------------------------------------------------------------
andre 2004-08-11 17:26:56 UTC
FreeBSD src repository
Modified files:
sys/net route.c
Log:
Convert the routing table to use an UMA zone for rtentries. The zone is
called "rtentry".
This saves a considerable amount of kernel memory. R_Zmalloc previously
used 256 byte blocks (plus kmalloc overhead) whereas UMA only needs 132
bytes.
Idea from: OpenBSD
Revision Changes Path
1.106 +10 -4 src/sys/net/route.c
===
With this I was able to dump approx. 1.2 million routes into the kernel
until I ran out of kmap_mem space. Pretty neat ;-)
===
... и на обломках Microsoft'а напишут наши имена
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2221411b10f2.html, оценка из 5, голосов 10
|