<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ext2 optimizations for writes? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452274#M71616</link>
    <description>I think the last post is correct and mine is incorrect. ext3 added journaling.&lt;BR /&gt;&lt;BR /&gt;My links should provide you the mount options you need to maximize write reliability or throughput.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 29 Dec 2004 16:26:08 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-12-29T16:26:08Z</dc:date>
    <item>
      <title>ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452270#M71612</link>
      <description>I have a DL380G3 running RHEL 3.0 ES.  He's on a private GigE LAN and SAN-attached to a couple of MSA1500 disk arrays.  His sole purpose in life is to accept Data Protector backup data over GigE and write it to files (virtual tapes) on the MSA1500's.&lt;BR /&gt;&lt;BR /&gt;I'm currently using ext2 filesystems on the MSA1500's since I'm interested in flat-out write performance (vs. journaling or read performance).  What recommendations can you kind folks make for tuning ext2 for max write efficiency or for replacing ext2 with something else that's HP-supportable under RedHat Enterprise Linux 3.0 ES?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 29 Dec 2004 11:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452270#M71612</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2004-12-29T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452271#M71613</link>
      <description>ext2 and ext3 are both journaled filesystems designed to mimic the vxfs/jfs functionality we are used to on hpux.&lt;BR /&gt;&lt;BR /&gt;I don't either of them are very well optimized for writes but they are well supported. Without outright replacing the filesystem the best bet is to try and mimic async write functionality like we have on hpux.&lt;BR /&gt;&lt;BR /&gt;Thats probably done with mount options.&lt;BR /&gt;&lt;BR /&gt;This link kinda gets into the topic:&lt;BR /&gt;&lt;A href="http://www.beowulf.org/archive/2002-April/006630.html" target="_blank"&gt;http://www.beowulf.org/archive/2002-April/006630.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe something else in my little google hunt will help.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=ext2+ext3+%22mount+options%22+%22write+performance%22&amp;amp;btnG=Search" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=ext2+ext3+%22mount+options%22+%22write+performance%22&amp;amp;btnG=Search&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Dec 2004 11:28:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452271#M71613</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-29T11:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452272#M71614</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Are you sure ext2 is a journaling file system?  I thought that was the major diff between ext2 and ext3.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 29 Dec 2004 11:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452272#M71614</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2004-12-29T11:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452273#M71615</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;as far as I know, ext3 is ext2 improuved by journaling feature. So ext2 is not "journal protected", then it is supposed to have more i/o performance.&lt;BR /&gt;&lt;BR /&gt;I'm affraid that doesn't have good chances to improuve performance by tunning ext2.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Wed, 29 Dec 2004 13:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452273#M71615</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-12-29T13:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452274#M71616</link>
      <description>I think the last post is correct and mine is incorrect. ext3 added journaling.&lt;BR /&gt;&lt;BR /&gt;My links should provide you the mount options you need to maximize write reliability or throughput.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Dec 2004 16:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452274#M71616</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-29T16:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452275#M71617</link>
      <description>ext2 is _not_ journalised, ext3 was build upon ext2 and has journaling.&lt;BR /&gt;&lt;BR /&gt;A no brainer mount option is 'noatime', which means the access time on files will not be updated.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Dec 2004 01:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452275#M71617</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2004-12-30T01:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452276#M71618</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;I suggest you to start from global overview of your system:&lt;BR /&gt;&lt;BR /&gt;-hardware [MSA500 firmware/disks speed/RAID configuration]&lt;BR /&gt;- linux kernel &amp;amp; storage drive  tuning&lt;BR /&gt;- choosing optimal fs parameters (block size, ...)</description>
      <pubDate>Thu, 30 Dec 2004 02:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452276#M71618</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-12-30T02:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: ext2 optimizations for writes?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452277#M71619</link>
      <description>Thank you all for the responses so far.  In reverse order ...&lt;BR /&gt;&lt;BR /&gt;Vitaly, that's what I started doing yesterday.  I have large diagram on my dry-erase board right now that shows data flow (and cmd/ctrl/status) between HP-UX client, HP-UX DP 5.1 cell mgr, and Linux device server (talks to the MSA1500's).  I can run 500GB of client data to a single LTO-2 (Ultrium 460) in 2 hrs 53 mins.  That same client data takes 6 hrs 55 mins to write to the MSA1500 disks.  Obviously, I want disk backup to run faster than tape backup which it is not at this point.  I've got to figure out the right combination of the following:&lt;BR /&gt;+ MSA1500 array and virtual drive parameters&lt;BR /&gt;+ Linux filesystem/mount parameters&lt;BR /&gt;+ Linux Fibre Channel HBA settings&lt;BR /&gt;+ Linux TCP/IP settings&lt;BR /&gt;+ Data Protector "virtual" tape drive settings&lt;BR /&gt;&lt;BR /&gt;Dirk,  thanks for the ext2/ext3 confirmation.  I have remounted the MSA filesystems with noatime, but from what I've read it looks like that only benefits read operations.  It didn't seem to yield a measurable improvement to sequential writes.&lt;BR /&gt;&lt;BR /&gt;Steven, thanks for the follow-up on ext2/ext3.&lt;BR /&gt;&lt;BR /&gt;Xyco, as with the others, thanks for the ext2/ext3 journaling confirmation.&lt;BR /&gt;&lt;BR /&gt;When I built the ext2 filesystems, I took all the defaults except for largefiles (one inode per 1MB) and sparse superblock (didn't need three zillion copies of the superblock since the eight filesystems are 1.2TB each).  It's likely I've missed an opportunity for optimization at the filesystem level.  These are simple 1.2TB mountpoints with about 291 each 4GB files that Data Protector treats as virtual tapes.&lt;BR /&gt;&lt;BR /&gt;I'm also shooting in the dark with the Data Protector virtual tape drive settings.  Currently they are:&lt;BR /&gt;+ Block size (kB) = 256&lt;BR /&gt;+ Segment size (MB) = 800&lt;BR /&gt;+ Disk agent buffers =  16&lt;BR /&gt;These are the settings that give me blazing performance on Ultrium 460 tape drives, but they may be grossly inappropriate for "virtual" tape drives writing to virtual tapes (disk).&lt;BR /&gt;&lt;BR /&gt;This really has become quite a challenge trying to take a box full of general purpose parts (Linux server, MSA1500's, SATA shelves) and make them work faster than a monolithic device (Ultrium 460) designed specifically for backup purposes.&lt;BR /&gt;&lt;BR /&gt;I welcome everyone's continued suggestions.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jim</description>
      <pubDate>Thu, 30 Dec 2004 10:09:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ext2-optimizations-for-writes/m-p/3452277#M71619</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2004-12-30T10:09:06Z</dc:date>
    </item>
  </channel>
</rss>

