1748179 Members
4136 Online
108758 Solutions
New Discussion юеВ

Re: 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 6
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
Richard Hubbell
Advisor
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
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.