- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to change Block Size
Operating System - HP-UX
1824171
Members
2597
Online
109669
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-30-2002 10:32 AM
тАО08-30-2002 10:32 AM
How to change Block Size
Hi All,
How to change the OS blokc size?
Thank
How to change the OS blokc size?
Thank
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 10:42 AM
тАО08-30-2002 10:42 AM
Re: How to change Block Size
That is set when you create the filesystem. Man newfs for details. It really only matters in hfs filesystems and you shouldn't be using them anyway. Vxfs filesystems are extent-based and blocksize really doesn't make any difference. Vxfs tends to write in 64k chunks regardless of what you do. If you are striping LVOL's then 64k tends to be the optimum stripsize for vxfs filesystems. In general, 8K is considered to be the best all-around db_block_size setting but you can play with other block settings.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 04:24 PM
тАО08-30-2002 04:24 PM
Re: How to change Block Size
Hi Sushil,
it depends on your file-system type. For HFS (=Berkeley) 8KB are really the all-time winners, but for VxFS (in a database environment) it simply isn't neccessary to change the default of 1KB blocks.
Read my more detailed explanation in that thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6dc0c8ecad09d6118ff40090279cd0f9,00.html
The important point is, that for databases you usually allocate the diskspace once (when you start) and if you need to extend it you do it in huge chunks (multi-megabyte) and you start on a "fresh" filesystem. Then your datafiles will be allocated in one huge chunk on the disk, and since the VxFS tries to read and write in 64KB blocks, the filesystem blocksize does not matter at all!
Just my $0.02,
Wodisch
it depends on your file-system type. For HFS (=Berkeley) 8KB are really the all-time winners, but for VxFS (in a database environment) it simply isn't neccessary to change the default of 1KB blocks.
Read my more detailed explanation in that thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6dc0c8ecad09d6118ff40090279cd0f9,00.html
The important point is, that for databases you usually allocate the diskspace once (when you start) and if you need to extend it you do it in huge chunks (multi-megabyte) and you start on a "fresh" filesystem. Then your datafiles will be allocated in one huge chunk on the disk, and since the VxFS tries to read and write in 64KB blocks, the filesystem blocksize does not matter at all!
Just my $0.02,
Wodisch
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP