VMware vSphere

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

    Posted Oct 07, 2026 11:01 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 Oct 08, 2026 12:51 AM

    Hi Young,

    IP traffic fragmentation is mostly cause due to switching misconfiguration.

    What network cards/speeds are you hosts running?

    Have you configured Jumbo frames on your switches?

    Have you configured frame sizes on either of the VMs?

    Are these hosts part of a cluster managed by vCenter or standalone?

    What virtual switching are you using? are you running NSX?

    if you ping from one node to another and set the flag to Do Not Fragment i..e ping -M do -s 1472 does the ping work? you can try changing the MTU size up and down to find success/failure points.




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

    Posted Oct 08, 2026 02:57 PM

    Hi cloudyMcCloudFace,

    Thank you! We're using Broadcom NetXtreme E-Series Quad-Port 25Gb Ethernet Network Daughter Card. We did not configre Jumbo frames or change frame sizes. The hosts are part of a cluster managed by vCenter. We're not using NSX. Ping'ing from one VM to the other (of this Oracle cluster) works with a fragment of 1472 bytes max. From 1473 up, I get "local error: message too long, mtu=1500".




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

    Broadcom Employee
    Posted Oct 09, 2026 01:21 AM

    Hi Yong,

    Hmmm, ok this may just be the message assembly within the RHOS, not physical packet loss and packet fragmentation?
    If you have multiple VDS/vSwitch uplinks I'd check each path, and what occurs if a path needs to traverse from VM A > Host A > ToR 1 > ToR 2 > Host B > VM B, if it's that complex, just to be sure.

    You could try: this came from a HPe site for full disclosure.

    Fix related to Timeout

    Check the current ipfrag_time:

    # cat /proc/sys/net/ipv4/ipfrag_time

    30

    Consider increasing this to 60:

    # echo "60" > /proc/sys/net/ipv4/ipfrag_time

    If this is successful, it can be made permanent by adding the above echo command to /etc/rc.local

    -------------
    I would also ensure that resources on these VMs are adaquate, how are CPU & Memory resources?
    Have you got Aria Ops deployed? (easy monitoring) check the CPU wait time, CPO co-Stop and see if there is any contention on these hosts?




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

    Posted Oct 10, 2026 03:18 PM

    Thank you, Nathan! I tried 60 seconds of ipfrag_time. It made no difference. Also tried increasing ipfrag_high_thresh and ipfrag_low_thresh, up to more than 200 MB. From /proc/net/sockstat, I can tell the kernel memory to process the fragments is not an issue. From /proc/net/snmp I can tell reassembly timeout is only about 5% of total reassembly failures. These tests were done multiple times. The servers have plenty of resources. Ironically, it seems the fewer CPUs, the less severe the problem. But the amount of memory has no effect. I think we only have one VDS/vSwitch uplink. I'll have someone else check that. Anyway, we'll probably plan to reduce CPUs on the production cluster, where the real problem is. (I'm currently playing different settings on a sandbox cluster.) Thanks again!




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

    Broadcom Employee
    Posted Oct 10, 2026 05:49 PM

    Hi Yong, adding more vCPU to a VM does have potential to reduce VM performance. This is resource constrained or resources are under contention.

    I would recommend looking at the Host metrics of cpu %co-stop and CPU Ready %rdy.

    What is happening, you have X CPUs on the host (No of cores) you assign Y cores to VMs, the VM scheduler then has to schedule the VM to execute on the physical core, but the VM will need to wait until a core is free, with Multiple vCPU VMs most (all, relaxed co-scheduling is in play here) need to be scheduled, if a VM cannot get all the vCPUs at or near the same time the VM will need to halt even for idle time to execute on every core.
    Google it to learn more.
    but take a look at this KB https://knowledge.broadcom.com/external/article/326296/determining-if-multiple-virtual-cpus-are.html




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

    Posted Oct 12, 2026 02:46 PM

    Thanks, Nathan! The article you recommended makes perfect sense. I don't have access to the command line of the host, but I can get the stats from vSphere client (Monitor > Advanced Performance > Chart option to add options). On the production cluster, I see Readiness % is low, < 0.02%. Co-stop has no percentage, but an absolute value of summation (for how long I don't know), 0.3 to 0.7 ms. I think these numbers are very low.

    On the VM, IP reassembly failures are growing not as fast as before. Currently:

    $ netstat -s|grep reassem
        2561129343 reassemblies required
        503887734 packets reassembled ok
        943716 packet reassemblies failed

    So the failure-to-OK ratio is 943716/503887734=.00187286956264746067 or about 0.19%. Not too bad. I think we're OK for now. Thank you for your help!