VMware vSphere

 View Only
  • 1.  High IP fragment reassembly failures on two VMs running Oracle RAC

    Posted Oct 07, 2026 11:00 PM
    We use ESXi 8.0.3. The host has multiple VMs. Two are installed with RHEL 9.8 running Oracle RAC 19.32.0.0. This 2-node Oracle cluster has a serious problem of IP fragment reassembly failures. I.e. in the output of "netstat -s|grep assem", the ratio of "packet reassemblies failed" to "packets reassembled ok" is quite high. Sometimes it's as high as more than 1%.
     
    I experimented with two things on the VMs: CPU count (by echo'ing 0 into /sys/devices/system/cpu/cpu*/online; tested 12 to 40 CPUs) and network Rx or Tx queue count (click the VM in vSphere client, Edit Settings -> Advanced Parameters -> ethernet0.maxRxQueues, ethernet0.maxTxQueues and also those for ethernet1; tested 2 to 8). It doesn't seem to make much difference. Having less CPUs seems to be better. Any suggestion? Thanks!
     
    Other details:
     
    Other tests I did before: increasing ipfrag_high_thresh, ipfrag_low_thresh, ipfrag_time under /proc/sys/net/ipv4. None of these changed anything.
     
    The load testing program I use is Swingbench (from dominicgiles.com). I create user soe and run its create data command (nstat is used to capture the delta of sampling reassembly failures): date;nstat|grep asm;/home/oracle/temp/swingbench/bin/oewizard -cl -create -cs myhostname/mydbservice -dba soe -dbap soepassword;date;nstat|grep asm
    Interestingly, this create data command causes more IP fragment reassembly failures than the actual load test itself does.
    The idea of varying the vNIC's Rx and Tx queues comes from a chat with Copilot AI. It seems to suggest that on VMs, the kernel may be inefficient in determining which queue an incoming IP fragment is on when the number of CPUs is high.


  • 2.  RE: High IP fragment reassembly failures on two VMs running Oracle RAC

    Posted 10 days ago

    These counters usually point to the RAC interconnect, not to vNIC queues or CPU count. Cache Fusion uses UDP, so with 8K blocks on a 1500 MTU every block gets fragmented, and a single lost fragment means a failed reassembly.

    What I'd check:

    • Jumbo frames end to end on the private network: guest NIC, vSwitch/vDS, uplinks and physical switch. Verify with ping -M do -s 8972 <other_node_priv_ip> (Oracle Doc ID 341788.1).
    • vmxnet3 ring drops: ethtool -S <iface> during the load. If the out-of-buffer counters grow, raise the rings with ethtool -G <iface> rx 4096 rx-mini 2048.
    • %DRPRX in esxtop (n) on the host while the test runs.

    Tuning ipfrag only helps when the fragments actually reach the guest.




  • 3.  RE: High IP fragment reassembly failures on two VMs running Oracle RAC

    Posted 9 days ago
    IT all looks weird for me. We do not see (and do not expect to see) any IP
    fragments at all in 99% cases, as there are many ways (MTU discovery , dont
    fragment bit, etc) preventing it (as it is useful but very uneffective
    mechanism).

    I worked with RAC maybe 2 - 3 years, and while it was Oracle 10 and 11,
    remember few things.

    (1) It was always Infiband oriented, so it may bring some protocols not so
    well aligned with TCP/Ip. Anyway, I would make sure that vSwitch is
    configured with maximum (JUMBO) frame, that if you cross hosts, it can use
    such frames, and (maybe most important) make sure that Ethernet (virtual)
    used supports TCP offloading (so card, not Linux or Windows, runs it). So
    first of all verify that virtual NIC used uses most efficient (and maybe
    recommended in RAC documentation) card type, and (using ethtool or what is
    available) that tcp offloading is enabled and all MTU sizes match vSwitch
    and are (again) in recommended range.

    And one more thing regarding RAC and VMware. RAC uses internal process to
    detect system freezes and failures and if detected it kills the node. (I
    don't remember the exact name, but idea is self-fencing—if a node goes down
    or freezes, it shuts itself down to let master do it's job). It may
    conflict with Vmware snapshots and/or suspends, so both should be avoided
    as much as possible, and timeout (if I am not mistaken it as procd or
    similar process) be adjusted. If you run 2 nodes on the same HW host, and
    total ## of cores configured (on both) prevents both VM-s to run on al
    lcores at the same time, it may cause extra problems. So better to use less
    cores configured so that host can allocate all (at least HT) cores to all
    nodes at the same time.

    (RAC was an excellent thing but RAC implementation, if it was not for Exadata
    wassomething weird, and de facto RAC Oracle provided great job
    security for DBAs
    and huge headache for sysadmins).
    Alexei Roudnev
    Senior network / data center architect
    EIS Group

    Cell: +1 415 806 3741
    Desk: +1 415 445 5907
    Slack: aroudnev@eisgroup.com