03-10-2009
The old rule used to be 3 x memory and we have to get people to stop following that. The old rule was conceived when 64 Megs was a lot of memory and kernels allocated memory differently.
You're currently at 5.25 x memory. That's the highest ratio that I have ever seen.
Edit: Or did you make a typo? 48 GB of swap would be the old rule. You must have switched the digits!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When i re-updated my system i set my swap at 500 MB. I have 256 in ram and have never even gone into the 250 mb of swap that i had originally configured. How do I reduce the swap? (3 Replies)
Discussion started by: macdonto
3 Replies
2. UNIX for Dummies Questions & Answers
Is it really so that if swap will be located in the begining of hard drive, than it will work faster? (1 Reply)
Discussion started by: Ty3
1 Replies
3. Solaris
So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this? (5 Replies)
Discussion started by: csaunders
5 Replies
4. Solaris
When i try to type swap -l ,nothing come out but blinking.
May i know what is the problem and solutions ?
thanks (6 Replies)
Discussion started by: Farbegas
6 Replies
5. Solaris
Hello and thanks in advance.
I have a Sun box with raid 1 on the O/S disks using solaris svm.
I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space.
I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
6. Red Hat
free -m : 1023 total swap space
created default partition /dev/sdb1 50M using fdisk. i did write the changes.
#mkswap /dev/sdb1
#swapon /dev/sdb1
free -m : 1078 total swap space
this shows that the swap is on
Question : i did not change the type LINUX SWAP (82) in fdisk.
so why is... (5 Replies)
Discussion started by: dplinux
5 Replies
7. HP-UX
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
8. Red Hat
Hi,
I have added a new disk to production server. How to make it visible to os and how to configure it. I also want to add some space from that disk to swap space. Please help me out. (1 Reply)
Discussion started by: chetansingh23
1 Replies
9. Solaris
Hi,
Can somebody please help here, since iam just a beginner.
According to my book knowledge.
the Avalilable memory calculated by swap -l (includes only swap) should be small as compared to swap -s value(includes Virtual memory=swap +physical).
but this is quite opposite in my case.
swap... (6 Replies)
Discussion started by: Laxxi
6 Replies
10. Solaris
Hi Solaris Folks :),
I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands.
$swap -s
total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available
$swap -l
swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies
LEARN ABOUT DEBIAN
atbindshowrules
atbindrule(3) AtFS Toolkit Library atbindrule(3)
NAME
atBindAddRule, atBindDelRule, atBindRuleFile, atBindDisplayErrors, atBindTestRule, atBindShowRules, atBindListRules - version bind rule
handling
SYNOPSIS
#include <atfs.h>
#include <atfstk.h>
int atBindAddRule (char *ruleName, char *ruleBody, char *srcFile, int srcLine);
int atBindDelRule (char *ruleName);
int atBindRuleFile (char *fileName);
int atBindDisplayErrors;
int atBindTestRule (char *ruleName);
int atBindShowRules (void);
char**atBindListRules (void);
DESCRIPTION
The atBind module maintains an internal database storing all known version bind rules.
The atBindAddRule function stores a new rule in the internal database. It expects the rule name, optionally including parameter defini-
tions, and the rule body as string arguments. Additionally, the filename (srcFile) of the file, where the rule is read from, and the line
within that file (srcLine), may be given. This is used for producing proper error messages. atBindAddRule returns -1 on error, 0 otherwise.
atBindDelRule removes a previously defined rule from the internal database. It returns a negative return value (-1), when no rule with the
given name was not found in the internal database.
The atBindRuleFile function scans a file containing version bind rules and adds all contained rules to the internal database. It returns
the number of version bind rules successfully added to the internal database. A zero return value may also indicate an error.
The switch atBindDisplayErrors may be set TRUE to enable error reporting during parsing of version binding rules. Error messages will be
written directly to standard error. Initially, atBindDisplayErrors is set FALSE.
AtBindTestRule reports whether ruleName is defined as version binding rule or not. It returns a non zero (TRUE) value when the name is
defined, otherwise FALSE.
atBindShowRules dumps the internal database to the standard output. Return value is always TRUE.
atBindListRules returns all known bind rule names in a list. The list memory is allocated by use of malloc(3). On error, atBindListRules
returns a null pointer.
DIAGNOSTICS
Upon error, each routine returns a null value, the variable atBindError is set true (non-zero), and an explaining message is copied to the
atBindErrorMsg string buffer. The atBindError variable is cleared upon successful calls, the message buffer remains unchanged.
ENVIRONMENT
SHAPETOOLS - list of path names as search space for files containing version bind rules. The bind rule files must be named BindRules.
Default path is /usr/local/lib/shape.
FILES
$SHAPETOOLS/BindRules
SEE ALSO
atbind(3)
AtFStk-1.12 Tue Jun 29 16:16:26 1993 atbindrule(3)