- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Does FS blksize impact storage??
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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
01-18-2001 10:02 AM
01-18-2001 10:02 AM
newfs -F vxfs -b 8192 etc...
If I have a filesystem however, that consists of many small files (most less than 8K in size) am I wasting space by going with an 8K blocksize on this one?
I thought I heard at one time that the system uses a minimum of 1 block to store a file? So in other words, a 5k file would occupy an 8K block and the rest of the space cannot be re-used, thus wasting 3k?
Is this true?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 11:10 AM
01-18-2001 11:10 AM
SolutionYes, if you have a 1K file on a vxfs filesystem with 8K blocks, then you will "waste" 7K. Also, when reading the same 1K file, the entire block will be read even though only 1K is needed.
By default, newfs -F vxfs will create the filesystem with 1K blocks.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2001 06:23 AM
01-19-2001 06:23 AM
Re: Does FS blksize impact storage??
For the Oracle executables and administration files as well as other miscellaneous files, this is a judgement call for the system admin. If I plan for many small files, I would try to keep the block size small (e.g., 1K).
Maximizing performance requires evaluating each need individually for their best interest (usually requiring understanding how the application utilizes the system resources). It is more work, but I have not found "generic" settings that maximizes all desired effects for all types of different needs.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2001 06:29 AM
01-19-2001 06:29 AM
Re: Does FS blksize impact storage??
Either you set your fs blocksize to the same as the oracle db (eg 8k, 16k, 32k) and gain ~15%+ performance but waste quite a lot of space if you have lots of small files on that filesystem also, or set it to 1k, save space but dont get the performance increase.
For this reason we usually have separate filesystems for oracle indexes and dbf files only, which are set to 8k+. And other filesystems with the default 1k for all those small files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2001 02:21 PM
01-19-2001 02:21 PM
Re: Does FS blksize impact storage??
Tim