From: Theodore Tso <tytso@mit.edu>
To: Eric Sandeen <sandeen@redhat.com>
Cc: Florian Weimer <fw@deneb.enyo.de>,
"Renato S. Yamane" <yamane@diamondcut.com.br>,
linux-ext4@vger.kernel.org
Subject: Re: Ext4 on SSD Intel X25-M
Date: Sun, 15 Nov 2009 17:01:44 -0500 [thread overview]
Message-ID: <20091115220144.GG4323@mit.edu> (raw)
In-Reply-To: <4B00730F.5060503@redhat.com>
On Sun, Nov 15, 2009 at 03:30:55PM -0600, Eric Sandeen wrote:
> Florian Weimer wrote:
>> * Renato S. Yamane:
>>
>>> How can I know the average writes per day?
>>
>> I used iostat (part of sysstat). Perhaps I should have checked first
>> if it is accurate. 8-/
>
> If you're running ext4, you can look at:
>
> /sys/fs/ext4/sdXX/lifetime_write_kbytes and
> /sys/fs/ext4/sdXX/session_write_kbytes
For an umounted filesystem, you can also do this:
dumpe2fs -h /dev/XXX | grep "Lifetime writes"
dumpe2fs -h /dev/XXX | grep "Filesystem created"
Then use a handy-dandy date calculator to figure the number of days
between the file system creation date and today, and then divide...
- Ted
next prev parent reply other threads:[~2009-11-15 22:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 13:59 Ext4 on SSD Intel X25-M Renato S. Yamane
2009-11-12 15:11 ` Eric Sandeen
2009-11-12 15:30 ` Theodore Tso
2009-11-12 20:06 ` Renato S. Yamane
2009-11-13 11:39 ` Andi Kleen
2009-11-13 14:13 ` Theodore Tso
2009-11-13 22:03 ` Florian Weimer
2009-11-15 21:15 ` Renato S. Yamane
2009-11-15 21:18 ` Florian Weimer
2009-11-15 21:30 ` Eric Sandeen
2009-11-15 21:46 ` Renato S. Yamane
2009-11-15 22:11 ` Theodore Tso
2009-11-15 22:18 ` Renato S. Yamane
2009-11-16 18:40 ` Theodore Tso
2009-11-16 19:00 ` Renato S. Yamane
2009-11-15 22:01 ` Theodore Tso [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-06-27 17:47 Nebojsa Trpkovic
2010-06-29 13:56 ` tytso
2010-06-29 14:35 ` Nebojsa Trpkovic
2010-06-29 15:12 ` Nebojsa Trpkovic
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=20091115220144.GG4323@mit.edu \
--to=tytso@mit.edu \
--cc=fw@deneb.enyo.de \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=yamane@diamondcut.com.br \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).