Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- kern/kern_mbuf.c.orig 2010-06-13 19:09:06.000000000 -0700
- +++ kern/kern_mbuf.c 2013-05-11 19:26:26.000000000 -0700
- @@ -114,7 +114,13 @@ tunable_mbinit(void *dummy)
- /* This has to be done before VM init. */
- if (nmbclusters == 0)
- +#if 0
- + /* XXX Quite frankly, this formula sucks if you have igb(4),
- + * ix(4), ti(4), or any other mbuf-hungry driver XXX */
- nmbclusters = 1024 + maxusers * 64;
- +#else
- + nmbclusters = 242144;
- +#endif
- nmbjumbop = nmbclusters / 2;
- nmbjumbo9 = nmbjumbop / 2;
- nmbjumbo16 = nmbjumbo9 / 2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement