- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Your favorite SWAP Question
Operating System - HP-UX
1752778
Members
6064
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 10:42 AM
05-05-2003 10:42 AM
Your favorite SWAP Question
On one our systems we have 20G swap mirrored and with proprity set as follows :
lvol2 8 G Priority : 0
lv_swap1 12 G Priority : 1
If system starts swapping, which will be used first ?
Is there any program or method or utility by which I can bring the system to its knees and start swapping heavy say upto 60 to 80% ??
lvol2 8 G Priority : 0
lv_swap1 12 G Priority : 1
If system starts swapping, which will be used first ?
Is there any program or method or utility by which I can bring the system to its knees and start swapping heavy say upto 60 to 80% ??
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 12:14 PM
05-05-2003 12:14 PM
Re: Your favorite SWAP Question
All priority 0 will be used first; then all 1's ; then 2's .... If devices share an equal priority, swap will be interleaved among them.
All you need to do to get the machine swapping is to launch many processes - assuming nproc/maxuprc is large enough so that you don't hit that limit first. Something as simple as:
#!/usr/bin/sh
I=1
while [[ ${I} -lt 1000 ]]
do
sh &
I=$((${I} + 1))
done
Afew of these should bring any box to its knees.
All you need to do to get the machine swapping is to launch many processes - assuming nproc/maxuprc is large enough so that you don't hit that limit first. Something as simple as:
#!/usr/bin/sh
I=1
while [[ ${I} -lt 1000 ]]
do
sh &
I=$((${I} + 1))
done
Afew of these should bring any box to its knees.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP