Swap Device & Unix Disk Buffer


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Swap Device & Unix Disk Buffer
# 1  
Old 11-02-2005
Swap Device & Unix Disk Buffer

Does anyone know if when the Swap Device / Page file in unix is carrying out Page / Swap In's and Page / Swap outs, does it go through the Unix Disk Cache ( I am presuming raw partitions are not being used ) ?

Therefore if there is paging activity on a system ( measured by sar -p, sar -g and vmstat -p ), should this activity also be reflected at the Unix Disk Cache level ( measured through sar -b ) and ultamately at the disk io level ( measured through sar -d and iostat ).

Alternatively does the swap partition bypass the Unix Cache altogether ?

One other question - how does onboard disk caches ( i.e. chips embedded with the disk itself ) effect the unix cache and how do you measure this activity ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX cluster disk usage report generation for yesterday & today and email

HI Team, I am trying to create a shell script to generate a yesterday and today report to compare and email in daily basis. can you please help me on the same. #!/bin/bash #Author: ******************* #Description: This script will return the following set of system information: ... (2 Replies)
Discussion started by: Mi4304
2 Replies

2. UNIX for Advanced & Expert Users

The disk drive for /tmp is not ready yet or not present && the disk drive for /boot is not ready yet

Hi Team when I boot the server I get this 2 errors : the disk drive for /tmp is not ready yet or not present the disk drive for /boot is not ready yet or not present and its stay like that , I m using Ubuntu 12.04 please if someone have any idea how to fix that problem . (1 Reply)
Discussion started by: SULTAN01
1 Replies

3. Solaris

Solaris 10 swap device and filesystem

Hi all, Q1) Due to application requirement, i am required to have more swap space. Currently my swap is on a partition with 32GB. I have another partition with 100GB, but it already has a UFS filesystem on it. Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ? Will... (17 Replies)
Discussion started by: javanoob
17 Replies

4. Red Hat

DELL M910 with RedHat Linux 5.5 getting "Buffer I/O error on device sdd"

Dear Guru, IHAC who is using Redhat Linux 5 on DELL M910. When system bootup, it show "Buffer I/O error on device sdd" error message. Below is the "dmesg" output. The scenario is: If more external FC SAN disk LUN add, the device would change other name. So it will impact the raw device... (7 Replies)
Discussion started by: devyfong
7 Replies

5. UNIX for Dummies Questions & Answers

a lot of Buffer I/O error on device connected to SAN

hi guys I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these any idea how to fix that? Suse Enterprise 10 SP3 update as soon as I disconnect the HBAs boots up normal and fast and no messages sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 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. Solaris

swap size, total disk space

Hi experts, In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies

8. Solaris

Solaris Disk based portion of swap.

Using 'swap -l' I can get the disk based portion of swap. What if the swap (/usr/bin/swap) command isn't available. What are my options then? Could I get this number with kstat? From /etc/vfstab, I can see the partitions that are reserved for swap. /dev/dsk/c0d0s1 using df however not... (3 Replies)
Discussion started by: Devyn
3 Replies

9. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

10. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies
Login or Register to Ask a Question
Trf_FlipRegisterShort(3)				     Library Functions Manual					  Trf_FlipRegisterShort(3)

NAME
Trf_FlipRegisterShort - Swap the bytes of all 2-byte words contained in the buffer. SYNOPSIS
#include <transform.h> void Trf_FlipRegisterShort ( void *buffer, int length ); PARAMETERS
void *buffer Data to swap. int length Length of buffer (in byte). DESCRIPTION
Swap the bytes of all 2-byte words contained in the buffer. SEE ALSO
Trf_Init(3), Trf_SafeInit(3), Trf_IsInitialized(3), Trf_CreateOptions(3), Trf_DeleteOptions(3), Trf_CheckOptions(3), Trf_SetOption(3), Trf_SetObjOption(3), Trf_QueryOptions(3), Trf_SeekQueryOptions(3), Trf_WriteProc(3), Trf_CreateCtrlBlock(3), Trf_DeleteCtrlBlock(3), Trf_TransformCharacter(3), Trf_TransformBuffer(3), Trf_FlushTransformation(3), Trf_ClearCtrlBlock(3), Trf_QueryMaxRead(3), Trf_Register(3), Trf_ConverterOptions(3), Trf_MDStart(3), Trf_MDUpdate(3), Trf_MDUpdateBuf(3), Trf_MDFinal(3), Trf_MDCheck(3), Trf_RegisterMessageDigest(3), Trf_LoadLibrary(3), Trf_XorBuffer(3), Trf_ShiftRegister(3), Trf_FlipRegisterLong(3), Trf_InitStubs(3) c2man transform.h 27 August 2002 Trf_FlipRegisterShort(3)