From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] 40TB RAID and OCFS2 woes (inode64, JDB2, huge partition support, Volume might try to write to blocks beyond what jbd can address in 32 bits)
Date: Sat, 2 Jan 2010 12:19:14 -0800 [thread overview]
Message-ID: <20100102201914.GC9504@mail.oracle.com> (raw)
In-Reply-To: <7DDC187D-D7DB-4640-91D7-92F7CF5CA704@wansecurity.com>
On Sat, Jan 02, 2010 at 04:47:58AM +0900, Robert Smith wrote:
> Just thought I would let you guys know that creating a 20TB file was successful. I even appended data to the end of it. Any operations on the file are completely useless because they take way to long. A appended "hello" to the end of the file no problem, but tail -n 1 {filename} yielded nothing except a lot of disk read after 159minutes of waiting.
Wow, that's a lot of waiting. I suspect it's the fault of
tail(1). You asked for the last line of the file (tail -1). I bet
tail(1) is reading the entire file line-by-line in order to calculate
the last line. This has to be much slower than reading it at optimal
hunks (with your 500MB/s disks). Conversely, appending is easy because
the kernel just starts at the end of the file. No need to read the
existing 20TB.
What other operations are 'completely useless'? The expectation
would be that random I/O is as fast as ever. How long does deleting
take?
Joel
--
"The trouble with being punctual is that nobody's there to
appreciate it."
- Franklin P. Jones
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2010-01-02 20:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 14:30 [Ocfs2-devel] 40TB RAID and OCFS2 woes (inode64, JDB2, huge partition support, Volume might try to write to blocks beyond what jbd can address in 32 bits) Robert Smith
2009-12-30 20:34 ` Joel Becker
2009-12-30 22:25 ` Robert Smith
2009-12-30 22:49 ` Sunil Mushran
2009-12-31 3:42 ` Joel Becker
2009-12-31 18:15 ` Robert Smith
2009-12-31 19:05 ` Sunil Mushran
2009-12-31 19:20 ` Robert Smith
2009-12-31 19:36 ` Robert Smith
2009-12-31 20:08 ` Joel Becker
2010-01-01 6:12 ` [Ocfs2-devel] 40TB RAID and OCFS2 woes (inode64, JBD2, " Robert Smith
2010-01-02 20:15 ` Joel Becker
2010-01-01 19:47 ` [Ocfs2-devel] 40TB RAID and OCFS2 woes (inode64, JDB2, " Robert Smith
2010-01-02 7:33 ` Tao Ma
2010-01-04 1:09 ` Robert Smith
2010-01-04 2:36 ` Tao Ma
2010-01-05 19:28 ` Robert Smith
2010-01-02 20:19 ` Joel Becker [this message]
2010-01-04 1:20 ` Robert Smith
2009-12-31 8:19 ` Tao Ma
2009-12-31 17:42 ` Robert Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100102201914.GC9504@mail.oracle.com \
--to=joel.becker@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.