HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: OnlineJFS performance question...
Operating System - HP-UX
1836627
Members
1901
Online
110102
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
10-17-2001 01:26 PM
10-17-2001 01:26 PM
We are using OnlineJFS to obtain greater performance from the file system.
My question is this?
Given a disk device (/dev/dsk/c4t0d0, for example), would using LVM to configure the disk incur a performance penalty over just using the device directly?
I.e., which of the two configuration opgions below delivers higher performance? Option A or B? (for comparison purposes, both options are using mincache=direct,convosync=direct to achieve "Direct I/O" per the OnlineJFS docs)
Option A:
pvcreate
vgcreate vg01
lvcreate -l xxx vg01
newfs -F vxfs /dev/vg01/rlvol1
mount /dev/vg01/lvol1 /drive
Option B:
newfs -F vxfs /dev/dsk/c4t0d0
mount /dev/vg01/lvol1 /drive
My initial thoughts are that Option B is faster because accesses to the disk don't have to go through the LVM subsystem, but go directly to the device.
Thoughts?
My question is this?
Given a disk device (/dev/dsk/c4t0d0, for example), would using LVM to configure the disk incur a performance penalty over just using the device directly?
I.e., which of the two configuration opgions below delivers higher performance? Option A or B? (for comparison purposes, both options are using mincache=direct,convosync=direct to achieve "Direct I/O" per the OnlineJFS docs)
Option A:
pvcreate
vgcreate vg01
lvcreate -l xxx vg01
newfs -F vxfs /dev/vg01/rlvol1
mount /dev/vg01/lvol1 /drive
Option B:
newfs -F vxfs /dev/dsk/c4t0d0
mount /dev/vg01/lvol1 /drive
My initial thoughts are that Option B is faster because accesses to the disk don't have to go through the LVM subsystem, but go directly to the device.
Thoughts?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 01:46 PM
10-17-2001 01:46 PM
Solution
Hi Eric:
Your analysis is correct but just barely so and only for single disks. The actual overhead associated with LVM raw lvols is very small. All that happens is that a request to character to major device 64 minor device 0x020001 block 3457 for example simply does a table lookup to say that that is really character major device 188 minor 0x032000 block 239 (for example). This is a very fast lookup and happens many times faster than the actual disk i/o.
If you then compare LVM raw/io where the lvol is stripped across multiple disks/controllers then LVM wins hands down. Given the ease of extending LVM lvols, stripping, and mirroring -this is really a no brainer - LVM.
The analysis is identical with block i/o devices but since you mentioned the =direct vxfs options, I thought I would answer it as raw since that is what you are emulating.
Also, you probably want to add nodatainlog,delaylog to your OnlineJFS mount options as well.
Regards, Clay
Your analysis is correct but just barely so and only for single disks. The actual overhead associated with LVM raw lvols is very small. All that happens is that a request to character to major device 64 minor device 0x020001 block 3457 for example simply does a table lookup to say that that is really character major device 188 minor 0x032000 block 239 (for example). This is a very fast lookup and happens many times faster than the actual disk i/o.
If you then compare LVM raw/io where the lvol is stripped across multiple disks/controllers then LVM wins hands down. Given the ease of extending LVM lvols, stripping, and mirroring -this is really a no brainer - LVM.
The analysis is identical with block i/o devices but since you mentioned the =direct vxfs options, I thought I would answer it as raw since that is what you are emulating.
Also, you probably want to add nodatainlog,delaylog to your OnlineJFS mount options as well.
Regards, Clay
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2001 04:08 AM
10-18-2001 04:08 AM
Re: OnlineJFS performance question...
If you option A with multiple disks and striping (say extent) then option A could be made faster.
e.g.
pvcreate -f /dev/rdsk/
pvcreate -f /dev/rdsk/
:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate vg01 /dev/dsk/ /dev/dsk/
lvcreate -l xxx -D y vg01
newfs -F vxfs /dev/vg01/rlvol1
mount /dev/vg01/lvol1 /mount
You copuld get furthur performance increases if you put the disks on different SCSI controllers
Tim
e.g.
pvcreate -f /dev/rdsk/
pvcreate -f /dev/rdsk/
:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate vg01 /dev/dsk/
lvcreate -l xxx -D y vg01
newfs -F vxfs /dev/vg01/rlvol1
mount /dev/vg01/lvol1 /mount
You copuld get furthur performance increases if you put the disks on different SCSI controllers
Tim
-
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP