From: Theodore Tso <tytso@mit.edu>
To: "Renato S. Yamane" <yamane@diamondcut.com.br>
Cc: linux-ext4@vger.kernel.org, Eric Sandeen <sandeen@redhat.com>,
Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Ext4 on SSD Intel X25-M
Date: Sun, 15 Nov 2009 17:11:46 -0500 [thread overview]
Message-ID: <20091115221146.GH4323@mit.edu> (raw)
In-Reply-To: <4B0076AD.9020008@diamondcut.com.br>
On Sun, Nov 15, 2009 at 07:46:21PM -0200, Renato S. Yamane wrote:
> On 15-11-2009 19:30, 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
>
> smartctl show me 229h Power_On_Hours (I buy it one month ago).
> And /sys/fs/ext4/sdXX/lifetime_write_kbytes show me 19940467
>
> So:
> 229h = 9,54 days
> 19940467 kbytes / 9,54 days = 2Gb/day
>
> I think that it is too much. I use it on my laptop only to see my
> e-mails (Thunderbird) and use OpenOffice.org on my work environment.
If you've only had the disk for a short while, then the initial writes
to install your system is probably biasing your results. So far you
have approximately 19GB of disk writes. I'm guessing that at least
3-4GB is from the initial installation of software on your system.
Also, if you are turning off your laptop at night, treating 229 hours
as 9.5 days isn't really fair. If you installed the SSD a month ago,
then treat that as 30 days, and we get:
16GB / 30 == 0.533 GB
This is well under the rated 20GB/day upon which Intel guarantees a
five year life --- and most people don't keep their laptop and/or hard
drives that long anyway.
- Ted
next prev parent reply other threads:[~2009-11-15 22:11 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 [this message]
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
-- 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=20091115221146.GH4323@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).