Unix Technical Forum

VXFS vs. UFS w logging

This is a discussion on VXFS vs. UFS w logging within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Just a quick question on when to use VXFS vx UFS with logging. Currently I have several 1 TB ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 06:50 AM
Chuck
 
Posts: n/a
Default VXFS vs. UFS w logging


Just a quick question on when to use VXFS vx UFS with logging.

Currently I have several 1 TB file systems (hardware RAID 5) using VXFS
with 8k extent sizes. One of our file systems has 8 million plus files
of varying sizes. This file system houses user home directories so
there are many small files as well as large files.

Lately, our backups started failing in this file system due to extreme
kernel contention. Veritas claims our kernel parameters and VXFS config
is good to go. I am currently moving this data to another 1TB file
system using UFS with logging but the data is moving at a painfully slow
rate.

Just wanted to get some feedback on UFS with logging, this is the first
I have ever used UFS with logging.

I am running Solaris 8 64-bit on this particular machine. (with latest
patch cluster as of last week)

Thanks for any advice,
Chuck

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 06:50 AM
Rich Teer
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

On Fri, 7 Nov 2003, Chuck wrote:

> Just wanted to get some feedback on UFS with logging, this is the first
> I have ever used UFS with logging.


UFS logging is great - especially in the latest releases of
Solaris 9, where performance got a significant boost.

How it compares to VxFS I can't say, as I've never compered
them.

HTH,

--
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 06:50 AM
Beardy
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

Rich Teer wrote:
> On Fri, 7 Nov 2003, Chuck wrote:
>
>
>>Just wanted to get some feedback on UFS with logging, this is the first
>>I have ever used UFS with logging.

>
>
> UFS logging is great - especially in the latest releases of
> Solaris 9, where performance got a significant boost.
>
> How it compares to VxFS I can't say, as I've never compered
> them.
>
> HTH,
>


"Compered" them - like in a quiz show?... VxFS, you *are* the Weakest
Link, Goodbye! ;^)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 06:50 AM
Elias
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

Chuck wrote:

>
> Just a quick question on when to use VXFS vx UFS with logging.
>
> Currently I have several 1 TB file systems (hardware RAID 5) using VXFS
> with 8k extent sizes. One of our file systems has 8 million plus files
> of varying sizes. This file system houses user home directories so
> there are many small files as well as large files.
>
> Lately, our backups started failing in this file system due to extreme
> kernel contention. Veritas claims our kernel parameters and VXFS config
> is good to go. I am currently moving this data to another 1TB file
> system using UFS with logging but the data is moving at a painfully slow
> rate.
>
> Just wanted to get some feedback on UFS with logging, this is the first
> I have ever used UFS with logging.
>
> I am running Solaris 8 64-bit on this particular machine. (with latest
> patch cluster as of last week)
>
> Thanks for any advice,
> Chuck
>



I'm not sure that in this case the underlying filesystem would affect
the transfer rate between two pieces of storage or the backup time.

The reason it's taking so long to backup (or not backup) is because of
the number of files. If you split the same filesystem in to two half
size filesystems and backed them up separately you would avoid backing
up the large number of files in one operation.

Elias


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 06:51 AM
Casper H.S. Dik
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

Chuck <usenet@zulu420.com> writes:

>I am running Solaris 8 64-bit on this particular machine. (with latest
>patch cluster as of last week)


Solaris 9 (later revs) ufs logging is *much* better, espcially for
your current workload.

What you could do for Solaris 8 with your current move is:

- suspend the transfer
- flush the log (lockfs -f )
- disable logging
- enable async ufs (look for the fastfs program)

Async ufs is unsafe but perfect for restores because it is
*much* faster. (Solaris 9 ufs logging is very similar in performance
to async fs)

Casper
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-12-2008, 06:52 AM
dave dickerson
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

Elias <nospam@charter.net> wrote in message news:<vqogc75g0c4jed@corp.supernews.com>...
> Chuck wrote:
>
> >
> >
> > [ ... ] Lately, our backups started failing in this file system due to extreme
> > kernel contention. [ ... ]


What is kernel contention?
>
>
> I'm not sure that in this case the underlying filesystem would affect
> the transfer rate between two pieces of storage or the backup time.
>
> The reason it's taking so long to backup (or not backup) is because of
> the number of files. If you split the same filesystem in to two half
> size filesystems and backed them up separately you would avoid backing
> up the large number of files in one operation.
>
> Elias



I agree that this sounds like a common problem with backups of a file system
with a large number of files. Moving from VXFS to UFS probably wont help much.

Some commercial backups products let you backup the raw device
and still restore individual files. Veritas calls this flashbackup, Legato's
product is called SnapImage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2008, 06:53 AM
Chuck
 
Posts: n/a
Default Re: VXFS vs. UFS w logging


dave dickerson wrote:
> Elias <nospam@charter.net> wrote in message news:<vqogc75g0c4jed@corp.supernews.com>...
>
>>Chuck wrote:
>>
>>
>>>
>>>[ ... ] Lately, our backups started failing in this file system due to extreme
>>>kernel contention. [ ... ]

>
>
> What is kernel contention?


Extreme mutex contention (spins on mutexes per second) I am currently
bringing up duplicate copies of 2 of our heavy usage 1TB filesystems
that are currently vxfs (ver 3.5 MP2).

I am gonna smoke test both and determine which one is best suited for.
(vxfs vs. ufs with logging) Sucks when you shell out the money for
Veritas and it doesn't perform as advertised, and then shell out even
more outrageous quantities of money for Veritas support that has yet to
proove it's worth to me in my 6 years exp. with Veritas.

-CC

>
>>
>>I'm not sure that in this case the underlying filesystem would affect
>>the transfer rate between two pieces of storage or the backup time.
>>
>>The reason it's taking so long to backup (or not backup) is because of
>>the number of files. If you split the same filesystem in to two half
>>size filesystems and backed them up separately you would avoid backing
>>up the large number of files in one operation.
>>
>>Elias

>
>
>
> I agree that this sounds like a common problem with backups of a file system
> with a large number of files. Moving from VXFS to UFS probably wont help much.
>
> Some commercial backups products let you backup the raw device
> and still restore individual files. Veritas calls this flashbackup, Legato's
> product is called SnapImage.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-12-2008, 06:54 AM
Thomas H Jones II
 
Posts: n/a
Default Re: VXFS vs. UFS w logging

In article <3FB790DC.8030109@zulu420.com>,
Chuck <usenet@zulu420.com> did thusly spew forth:
>I am gonna smoke test both and determine which one is best suited for.
>(vxfs vs. ufs with logging) Sucks when you shell out the money for
>Veritas and it doesn't perform as advertised, and then shell out even
>more outrageous quantities of money for Veritas support that has yet to
>proove it's worth to me in my 6 years exp. with Veritas.


I fail to see the worth of VxFS if you've limited your atomicity to 8K
extents. The whole value of VxFS is with -variable- extent sizing. In
particular, VxFS doesn't begin to shine until you start using extents
-larger- than 8K. Smaller than that, performance will tend to still
favor UFS, as UFS doesn't start to incur indirection penalties until
about the 8K mark.

Basically, for home directories, unless your users are storing lots of
things like MP3's or similar large files, UFS probably would be a better
choice.

As to your backups, you might want to look at software that allows you
to do multi-streaming (several backup sessions from one block device or
filesystem).

-tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com