Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

System Blocksize

SOLVED
Go to solution
Amiel Tutolo
Frequent Advisor

System Blocksize

We are running HP-UX 11.0 and I need to find out what the SYSTEM BLOCKSIZE is? I am new to the SysAdmin arena and this system was originally setup by consultants so I have no idea where to start looking. Thanks for everyones help.
Live, love and laugh
6 REPLIES
Andy Monks
Honored Contributor

Re: System Blocksize

No idea what you mean with 'SYSTEM BLOCKSIZE'.

The memory uses 4K pages, and the filesystems use different blocksizes.

To find out on a filesystem by filesystem basis do :-

fstyp -v
Alan Riggs
Honored Contributor

Re: System Blocksize

One additional note: you do not say what information exactly you require or how you need to use it. Andy is absolutely correct in his information. However, there are some older utilities and programs that assume a block size of 512 bytes. This is reflected in the standard reports of df and du, for example. If you are running a tool that reports blocks, then make sure it is accurately recording the true blocksize.
Amiel Tutolo
Frequent Advisor

Re: System Blocksize

The reason I am asking is that the Oracle DBA is soing some tuning and wants to match his DB Blksize to the system blksize. He is saying when he takes the number of blocks that is showing up in the directory listing ( using ll ) he comes up with a 512 block size. I used the command that Andy posted and this showed a f_bsize = 8192.
Live, love and laugh
Highlighted
Solution

Re: System Blocksize

Are you sure about that page size?
Where did you get that number from?

Steven Sim Kok Leong
Honored Contributor

Re: System Blocksize

Hi,

I believe you are referring to the filesystem block size.

For good I/O performance, there is indeed an Oracle recommendation requiring that the database block size should not be larger than the filesystem block size. As a rule of thumb, deciding on the database block size depends on your oracle database and oracle application, that is, how large are your tables and how large are the records.

Regards.

Steven Sim
Email: steven@beepz.com. Homepage: https://www.beepz.com
CHRIS ANORUO
Honored Contributor

Re: System Blocksize

Amiel

The block size to usew for oracle is 4K you can also run dmesg command to see the physical and logical page sizes.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.