Sponsored Content
Full Discussion: Swap stress test
Operating Systems Solaris Swap stress test Post 302791521 by jlliagre on Monday 8th of April 2013 04:09:24 PM
Old 04-08-2013
Quote:
Originally Posted by butchie3980
the idea is to trigger swap usage, and we try to monitor that two ways, using top and "swap -l"
first step that we try is to fill up /tmp with a couple of simple "mkfile 10g /tmp/memeater01" style commands. We can see the available ram decrease each time we create one of those files in /tmp.

we get down to about 10-ish GB of free ram and start to encounter "no space available" errors when trying to create tmp files.
You have exhausted your virtual memory, which includes most of the RAM plus all of the swap area when you get these messages. Can you post the actual numbers and the commands you use to measure memory and swap usage ?
Quote:
Next think we tried was to push it over the edge using a program that simply uses malloc() calls to reserve ram and hold onto it. we can also watch the avalable ram decrease until the 10GB (roughly) threshold and then this program dies.
How (why) does it die ?
Quote:
A combination of both /tmp files and the malloc() program still dies around the 10gb free threshold and we never ever see any indicators that swap space is being used.
Are you you actually accessing all of the the allocated pages ?
Quote:
Just downloaded VTS, and started reading the documentation. Tried a test run, but don't know if the defaults are what we need. We only enabled the memory test and ran it. According to top, free RAM dropped to 36GB and stayed there, Free swap stayed the same no changes. We sat there and watched top for about 30 minutes before getting pulled away to a meeting. so we stopped it and decided to try later. are there some parameters we need to set or change?
VTS is to stress test you hardware in order to detect faulty components. I don't think this is what you are looking for, although I don't precisely understand what exactly you are trying to achieve/fix ...
 

9 More Discussions You Might Find Interesting

1. Solaris

how to stress the memory

Hi All, Is there way to stress memory on Solaris 10? If yes, how do I monitor the memory usage? (3 Replies)
Discussion started by: samnyc
3 Replies

2. UNIX and Linux Applications

Solaris & Linux memory stress test?

I'm looking for a script or some other application that will use up a lot of memory on a Solaris or Linux server, in order to test a monitoring application. So far I have found a script that's good for CPU usage but it does nothing for memory. I have also tried the application called 'stress'... (0 Replies)
Discussion started by: Kraas
0 Replies

3. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

4. Programming

Stress testing memory using malloc in linux ??

Hi to all, Recently i am testing an equipment that runs in i586 fedora linux. I have to test mmap function. For that i determined to fill the memory and run the required application to check whether it throws any mmap error regarding low resources. This is the line that does the allocation. ... (3 Replies)
Discussion started by: frozensmilz
3 Replies

5. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

6. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

7. UNIX for Advanced & Expert Users

Stress Run

Please anyone can tell me what is Stress in unix and how can I Perform Stress Runs on the UNIX environment Please reply soon it's urgent:confused: (5 Replies)
Discussion started by: mubashir
5 Replies

8. IP Networking

Stress Test a NIC

I need to find out if the NIC on my MP-RAS box is bad. Unfortunately just sending out a ping to the loop back is not going to cut it. I need to be able to send out packets of information for several minutes at a time. I can't seem to find a tool or command to do this. Is anyone aware of a way to... (1 Reply)
Discussion started by: wardduncan
1 Replies

9. UNIX for Beginners Questions & Answers

Network stress test.

Hi there. First things first, this is nothing to do with the internet or ISP speed, I know what that is, I know what it's doing. I have a cluster of 128 single board computers running a branch of Debian. I want to run some kind of stress test to ensure they can transfer data (a) to each... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies
vxvmboot(1M)															      vxvmboot(1M)

NAME
vxvmboot - prepare Veritas Volume Manager volume as a root, boot, primary swap or dump volume SYNOPSIS
/sbin/vxvmboot [-b|-d|-r|-s] [-v] -o offset -l length rawpath /sbin/vxvmboot -v rawpath /sbin/vxvmboot -c DESCRIPTION
The vxvmboot command updates information in the LABEL file for the lif disk specified by the pathname of its character (raw) device node, rawpath. The volume at the specified offset and length becomes the boot, root, primary swap or dump volume when the system is next booted. This command is normally invoked by the vxbootsetup utility. OPTIONS
-b Specifies the volume type as a boot volume with name standvol. -c Is used to update the /stand/rootconf file with the offset and length of the rootvol. The usage is slightly different when the -c argument is used. The rawpath argument is not used with this invocation. Instead the path of the boot device is extracted from the /stand/bootconf file. Also, the -o and -l arguments are not used to specify the offset and length. Instead, the offset and length of the rootvol are obtained from the LIF LABEL file on the boot device. The -c option would normally be used in the sbin/ioinitrc script to update the /stand/rootconf file, when the boot disk is VxVM rootable. -d Specifies the volume type as a dump volume with name dumpvol. If a dumpvol volume exists on the specified disk, the extent information from this volume is used. If no such volume exists, the extent information of the swap volume is used instead, and swapvol performs the dual role of swap device and dump device. -l length Specifies the length of the volume in units of 1024-byte blocks. -o offset Specifies the start of the volume as the number of 1024-byte blocks from the beginning of the disk. -r Specifies the volume type as a root volume with name rootvol. -s Specifies the volume type as a swap volume with name swapvol. -v When used with one of the options -b, -d, -r or -s, displays the contents of the updated LABEL file. Otherwise, this option may be used to display the contents of the LABEL file on the specified lif disk. Note: The -b, -c, -d, -r and -s options are mutually exclusive. If more than one of these options is specified, the vxvmboot com- mand exits without performing any operation. ARGUMENTS
rawpath Specifies the pathname of the character (raw) device node for the lif disk. SEE ALSO
lif(4), mkboot(1M), vxbootsetup(1M) VxVM 5.0.31.1 24 Mar 2008 vxvmboot(1M)
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy