On 15-11-2009 20:11, Theodore Tso wrote:
Renato S. Yamane wrote:
Eric Sandeen wrote:
Florian Weimer wrote:
Renato S. Yamane wrote:
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.
Wow! You are really right!
Thank you so much Theodore, Eric and Florian!
I'm very happy with this SSD! It's really faster!
Regards,
Renato S. Yamane
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html