Potential file system contention on directory


 
Thread Tools Search this Thread
Operating Systems HP-UX Potential file system contention on directory
# 8  
Old 01-18-2011
(Very) early cleardown or archive of your primary directories very important for performance.

Some admins leave it for weeks or months or years before getting around to the cull. At a design level you need to implement data culls or archive processess according to rules from "day one" to prevent unix directories becoming oversize due to laziness in archiving or removing old files.

Serious note: You may need to schedule downtime to backup, re-create & restore key directories in order to maintain performance.

Last edited by methyl; 01-18-2011 at 09:09 PM.. Reason: Typos
# 9  
Old 01-19-2011
Another often overlooked option is putting the quiescent files in a zip file (with relative paths) and accessing them by something like:
Code:
popen( "unzip -p zipfile.zip target_path/target_file.ext",  "r" )

so no temp raw copies are written (avoid wasted space, bandwidth, latency, cleanup, name collisions). It saves storage space and the files may flow faster out of a CPU unzip than raw off the disk. Some tools can traverse a zip as if it was a directory, and honoring relative paths stored inside the zip. For NFS files, the data traverses the network compresssed, adding speed and conserving bandwidth. Of course, you cannot seek in a compressed file stream fd/FILE*, but not all apps do seeks in flat files.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Contention Identifier Script

Hi Experts, Need some help with a script which is definetly beyond my scripting skills. Here is flat file that I have with 4 Key Columns KEYCOLUMN1 KEYCOLUMN2 KEYCOLUMN3 KEYCOLUMN4 123ABC AEG MANCHESTER BIGBOX... (2 Replies)
Discussion started by: PG3
2 Replies

2. Cybersecurity

Attacking Potential of sh-scripts

Hey, I actually do have a question which seems rather easy for those you know more about this topic, since I am pretty new to bashscripting and don't know where it's limits are I have to ask you guys :) Imagine a system where all possible code execution methods (binary executables or... (15 Replies)
Discussion started by: disaster
15 Replies

3. AIX

how to handle potential file contention

I need to change how a posting procedure currently works in order to improve load balancing but I am hitting a potential file contention problem that I was wondering if someone here could assist me with... In a directory called FilePool I would have a bunch of files that are constantly coming in... (3 Replies)
Discussion started by: philplasma
3 Replies

4. Shell Programming and Scripting

script to differenciate directory and file system

I need to write a script which will check all the directories in / and find out which is separate filesystem or a directory inside / suppose i have /application -->/dev/hdisk0 is a partitiom /abc --> is a directory /xyz-->is a directory /db-->/dev/hdisk1 is a partition actually my / gets... (2 Replies)
Discussion started by: pchangba
2 Replies

5. Shell Programming and Scripting

Need to find the percentage of the directory in the file system.

Hi All, I want to find the percentage occupied by the directory in the file system. Say, i have the file system /home/arun/work under this file system i have the directories /home/arun/work/yesterday /home/arun/work/today /home/arun/work/tomorrow The size of the file system is... (5 Replies)
Discussion started by: Arunprasad
5 Replies

6. UNIX for Dummies Questions & Answers

Potential new user of Unix

Hi all, Complete and utter virgin Unix person here (I don't even have the OS yet) As I'm doing a "looking into it" kinda thing before I move from MS I hope my questions are not inappropriate. 1. Should I get some kind off anti virus software. I know Unix is pretty good for not getting them... (2 Replies)
Discussion started by: dhula
2 Replies

7. UNIX for Dummies Questions & Answers

how many directory can be mounted on one file system

I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Discussion started by: duke0001
4 Replies

8. UNIX for Dummies Questions & Answers

Distinction b/w file system and directory

Can you give a very basic definition of file system vs. directory in unix. The context is around monitoring for disk capacity maxing out. Why would /appl/sbe/inst_2/config/logs not be able to be because it is a directory but appl/cce can be monitored because it is a unix file system. They... (1 Reply)
Discussion started by: kd9626
1 Replies
Login or Register to Ask a Question