Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package google-guest-configs for 
openSUSE:Factory checked in at 2026-08-05 17:48:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-configs (Old)
 and      /work/SRC/openSUSE:Factory/.google-guest-configs.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-guest-configs"

Wed Aug  5 17:48:13 2026 rev:44 rq:1369486 version:20260729.00

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/google-guest-configs/google-guest-configs.changes    
    2026-07-14 13:49:17.569668019 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-guest-configs.new.16738/google-guest-configs.changes
     2026-08-05 17:48:56.046958375 +0200
@@ -1,0 +2,6 @@
+Tue Aug  4 06:43:57 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 20260729.00 (bsc#1273385)
+  * set_multiqueue: extend x4-specific configs to future x series
+
+-------------------------------------------------------------------

Old:
----
  google-guest-configs-20260707.00.tar.gz

New:
----
  google-guest-configs-20260729.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-guest-configs.spec ++++++
--- /var/tmp/diff_new_pack.kp2l0t/_old  2026-08-05 17:48:56.554976172 +0200
+++ /var/tmp/diff_new_pack.kp2l0t/_new  2026-08-05 17:48:56.558976312 +0200
@@ -23,7 +23,7 @@
 %define _udevdir %(pkg-config --variable udev_dir udev)
 %endif
 Name:           google-guest-configs
-Version:        20260707.00
+Version:        20260729.00
 Release:        0
 Summary:        Google Cloud Guest Configs
 License:        Apache-2.0

++++++ google-guest-configs-20260707.00.tar.gz -> 
google-guest-configs-20260729.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-configs-20260707.00/src/usr/bin/google_set_multiqueue 
new/guest-configs-20260729.00/src/usr/bin/google_set_multiqueue
--- old/guest-configs-20260707.00/src/usr/bin/google_set_multiqueue     
2026-07-07 02:57:15.000000000 +0200
+++ new/guest-configs-20260729.00/src/usr/bin/google_set_multiqueue     
2026-07-29 18:33:03.000000000 +0200
@@ -425,15 +425,27 @@
   done
 }
 
-# Special features only for x4.
-function apply_x4_configs() {
-  echo "Configuring special features for x4."
+# Special features only for x series machines.
+function apply_xseries_configs() {
+  echo "Configuring special features for x series machines."
+
+  local -r rps_per_queue_flow_cnt=16384
+  local -r pci_nics=$(get_pci_network_interfaces)
+  local num_rx_queues=0
+  for nic_name in $pci_nics; do
+    if is_idpf "$nic_name"; then
+      queues=(${ROOT_DIR}sys/class/net/"$nic_name"/queues/rx-*)
+      if [[ -e "${queues[0]}" ]]; then
+        num_rx_queues=$((num_rx_queues + ${#queues[@]}))
+      fi
+    fi
+  done
 
   # Globally enable RFS to reduce load on CPUs handling softirqs
   # (still need per-queue enable).
-  sysctl net.core.rps_sock_flow_entries=262144
+  sysctl net.core.rps_sock_flow_entries=$((num_rx_queues * 
rps_per_queue_flow_cnt))
 
-  for nic_name in $(get_pci_network_interfaces); do
+  for nic_name in $pci_nics; do
     if ! is_idpf "$nic_name"; then
       continue
     fi
@@ -446,8 +458,7 @@
     ethtool -C "$nic_name" adaptive-tx off adaptive-rx off rx-usecs 20 
tx-usecs 50
 
     # Per-queue flow count for RFS.
-    # Assumes 16 queues -> 262144 / 16 = 16384.
-    echo 16384 | tee 
${ROOT_DIR}sys/class/net/"$nic_name"/queues/rx-*/rps_flow_cnt > /dev/null
+    echo "$rps_per_queue_flow_cnt" | tee 
${ROOT_DIR}sys/class/net/"$nic_name"/queues/rx-*/rps_flow_cnt > /dev/null
   done
 
   # Distribute IRQs across CPUs.
@@ -460,8 +471,8 @@
 machine_type=$(get_metadata "instance/machine-type")
 echo "Machine type: $machine_type"
 
-if [[ "$machine_type" =~ "x4-" ]]; then
-  apply_x4_configs
+if [[ "$machine_type" =~ x[4-5]- ]]; then
+  apply_xseries_configs
   exit 0
 fi
 

Reply via email to