Hi all, Recently I have installed a centOS 5.4 server to use as a home NAS server. I need to use large files (8GB minimum) inside of it to serve via iSCSI services. Which filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, gfs2 ....?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
carlopmart wrote:> Hi all, > > Recently I have installed a centOS 5.4 server to use as a home NAS server. I need > to use large files (8GB minimum) inside of it to serve via iSCSI services. Which > filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, gfs2 > ....??None of them should have a problem with large files and any differences in the filesystem metadata handling will be covered up by the underlying disk access speed of a large amount of data per file. The bigger differences are in how fast they can create or delete large numbers of files. -- Les Mikesell lesmikesell at gmail.com
Les Mikesell wrote:> carlopmart wrote: >> Hi all, >> >> Recently I have installed a centOS 5.4 server to use as a home NAS server. I need >> to use large files (8GB minimum) inside of it to serve via iSCSI services. Which >> filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, gfs2 >> ....?? > > None of them should have a problem with large files and any differences > in the filesystem metadata handling will be covered up by the underlying > disk access speed of a large amount of data per file. The bigger > differences are in how fast they can create or delete large numbers of > files. >Thanks Les. then if I would to use sparse files to create these large files, which can be the best form: dd of qcow2 format for example?? -- CL Martinez carlopmart {at} gmail {d0t} com
On Wed, Dec 23, 2009 at 10:47 AM, carlopmart <carlopmart at gmail.com> wrote:> Hi all, > > ?Recently I have installed a centOS 5.4 server to use as a home NAS server. I need > to use large files (8GB minimum) inside of it to serve via iSCSI services. Which > filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, gfs2 > ....??I don't know if this is still true, but when I last checked a couple years ago, the recommendation was for LVM device backed iSCSI targets. http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg00000.html With LVMs you'd of course lose the flexibility of file-backed targets and the ability to do sparse files are you're intending.. dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo bs=1 count=0 seek=16G