VirtualBox

Changeset 30351 in vbox for trunk/src


Ignore:
Timestamp:
Jun 22, 2010 2:44:19 AM (15 years ago)
Author:
vboxsync
Message:

NAT: increases jumbo16 zone. TSO/SGO heavily uses jumbo16 in case
of p2p or some UDP benchmarks (e.g. namebench), eating current
limit too fast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/kern/kern_mbuf.c

    r28183 r30351  
    126126        nmbjumbop = nmbclusters / 2;
    127127        nmbjumbo9 = nmbjumbop / 2;
     128#ifndef VBOX
    128129        nmbjumbo16 = nmbjumbo9 / 2;
     130#else
     131    /* drvNATNetowrkUp_AllocBuf always requests mbuf from this
     132     * zones, that require more buffers allocated on jumbo16 zone,
     133     * in case of intensive communication like p2p and UDP benches.
     134     */
     135    nmbjumbo16 = nmbclusters;
     136#endif
    129137        TUNABLE_INT_FETCH("kern.ipc.nmbclusters", &nmbclusters);
    130138}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette