What is the recommended swap size for Red Hat platforms?

Solution Verified - Updated -

Issue

  • If I add several hundred gigabytes of RAM to a system, do I really need several hundred gigabytes of swap space?
  • What are the recommended swap size settings for Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8?
  • What are the recommended swap size settings for Red Hat OpenStack Platform?
  • How much swap should I assign to a virtual guest, is the recommendation different from a normal system?

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Red Hat OpenStack Platform (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content