Re: System Blocksize (23 Views)
Reply
Frequent Advisor
Amiel Tutolo
Posts: 90
Registered: ‎05-24-2000
Message 1 of 7 (23 Views)
Accepted Solution

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
Please use plain text.
Honored Contributor
Andy Monks
Posts: 462
Registered: ‎05-31-1999
Message 2 of 7 (23 Views)

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
Please use plain text.
Honored Contributor
Alan Riggs
Posts: 881
Registered: ‎03-08-1998
Message 3 of 7 (23 Views)

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.
Please use plain text.
Frequent Advisor
Amiel Tutolo
Posts: 90
Registered: ‎05-24-2000
Message 4 of 7 (23 Views)

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
Please use plain text.
Advisor
Richard Hubbell
Posts: 24
Registered: ‎01-27-2000
Message 5 of 7 (23 Views)

Re: System Blocksize

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

Please use plain text.
Honored Contributor
Steven Sim Kok Leong
Posts: 2,376
Registered: ‎09-04-1997
Message 6 of 7 (23 Views)

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
Please use plain text.
Honored Contributor
CHRIS ANORUO
Posts: 1,361
Registered: ‎05-29-1998
Message 7 of 7 (23 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation