By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.18 Will Be A Big Improvement For Servers Encountering DDoS Attacks
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.18 Will Be A Big Improvement For Servers Encountering DDoS Attacks
Computing

Linux 6.18 Will Be A Big Improvement For Servers Encountering DDoS Attacks

News Room
Last updated: 2025/10/03 at 4:01 PM
News Room Published 3 October 2025
Share
SHARE

A set of patches merged via the networking pull request for the Linux 6.18 will help servers better cope with distributed denial of service “DDoS” attacks. Thanks to a Google engineer there are some significant optimizations found in the Linux 6.18 kernel code for more efficiently handling of UDP receive performance under stress, such as in DDoS scenarios.

Merged for Linux 6.18 as part of the networking changes is this patch series from Google engineer Eric Dumazet. Dumazet explains there:

“This series is the result of careful analysis of UDP stack, to optimize the receive side, especially when under one or several UDP sockets are receiving a DDOS attack.

I have measured a 47 % increase of throughput when using IPv6 UDP packets with 120 bytes of payload, under DDOS.

16 cpus are receiving traffic targeting a single socket.

Even after adding NUMA aware drop counters, we were suffering from false sharing between packet producers and the consumer.

1) First four patches are shrinking struct ipv6_pinfo size and reorganize fields to get more efficient TX path. They should also benefit TCP, by removing one cache line miss.

2) patches 5 & 6 changes how sk->sk_rmem_alloc is read and updated. They reduce reduce spinlock contention on the busylock.

3) Patches 7 & 8 change the ordering of sk_backlog (including sk_rmem_alloc) sk_receive_queue and sk_drop_counters for better data locality.

4) Patch 9 removes the hashed array of spinlocks in favor of a per-udp-socket one.

5) Final patch adopts skb_attempt_defer_free(), after TCP got good results with it.”

A 47% increase of throughput in this receiving of DDoS scenario!

Linux server

Eric Dumazet further added in this patch alone being able to process 14.2M more packets per second while under attack on an Intel Xeon Linux server:

“busylock was protecting UDP sockets against packet floods, but unfortunately was not protecting the host itself.

Under stress, many cpus could spin while acquiring the busylock, and NIC had to drop packets. Or packets would be dropped in cpu backlog if RPS/RFS were in place.

This patch replaces the busylock by intermediate lockless queues. (One queue per NUMA node).

This means that fewer number of cpus have to acquire the UDP receive queue lock.

Most of the cpus can either:

– immediately drop the packet.

– or queue it in their NUMA aware lockless queue.

Then one of the cpu is chosen to process this lockless queue in a batch.

The batch only contains packets that were cooked on the same NUMA node, thus with very limited latency impact.

Tested:

DDOS targeting a victim UDP socket, on a platform with 6 NUMA nodes (Intel(R) Xeon(R) 6985P-C)

Before:

nstat -n ; sleep 1 ; nstat | grep Udp

Udp6InDatagrams 1004179 0.0

Udp6InErrors 3117 0.0

Udp6RcvbufErrors 3117 0.0

After:

nstat -n ; sleep 1 ; nstat | grep Udp

Udp6InDatagrams 1116633 0.0

Udp6InErrors 14197275 0.0

Udp6RcvbufErrors 14197275 0.0

We can see this host can now process 14.2 M more packets per second while under attack, and the victim socket can receive 11 % more packets.”

The timing of this work landing for Linux 6.18 is great with this kernel version expected to become this year’s Long Term Support (LTS) kernel version and thus will see a lot of enterprise/server use moving forward.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article YouTube TV’s renewal with NBC Universal reveals return of a classic sports channel | Stuff
Next Article Google Store drops Pixel 6 refurbs, Pixel Tablet with charging dock goes MIA
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Stanbic IBTC Capital fined ₦50.145m — NGX filing error initially reported ₦50.15bn
Computing
2 families sue Tesla over door design after crash deaths
News
Jason Brown: Self-Development as the Key to Unlocking New Heights in Business and Life | HackerNoon
Computing
What to expect at OpenAI’s DevDay 2025, and how to watch it | News
News

You Might also Like

Computing

Stanbic IBTC Capital fined ₦50.145m — NGX filing error initially reported ₦50.15bn

5 Min Read
Computing

Jason Brown: Self-Development as the Key to Unlocking New Heights in Business and Life | HackerNoon

0 Min Read
Computing

Spotted in Seattle: Amazon delivery firms using GM’s boxy, white BrightDrop electric vans

3 Min Read
Computing

TSMC begins production of Intel’s Lunar Lake processor, Core Ultra 200V series · TechNode

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?