News for hackers. Stuff that matters.
Re:Wordpress site running on Raspberry Pi by epitomix on Friday November 30, 2012 @09:30PM (#4856597)
Kingston lists the write cycles as 3000-5000, this would shorten your calculations by at least 20x.

http://media.kingston.com/pdfs/FlashMemGuide.pdf

Also, see this thread:

http://www.raspberrypi.org/phpBB3/viewtopic.php?t=21281&...

Edit - The Kingston data is a bit dated but in any case 10000 is probably a better number for cheaper cards.

Re:Wordpress site running on Raspberry Pi by ChuckMcM on Friday November 30, 2012 @10:28PM (#4856731)
So I did a non-scientific test on my Raspberry Pi at home with a 4G card that has typically been my 'move an .iso around' it is a 'class 10' card from Microcenter Warehouse. Using this perl program:

   #!/usr/bin/perl

   use strict;
   use warnings;

   my $letters = "ABCEDEGHIJKLMNOPQRSTUVWXYZ-";
   my $range = length $letters;

   while (1) {
       foreach (1..16) {
           my $nm = "A";
           foreach (1 .. 15) {
               $nm .= substr($letters, rand($range), 1);
           }
           open(my $fh, ">", "$nm.delete-me");
           foreach (1 .. 128) {
               $nm .= substr($letters, rand($range), 1);
           }
           print $fh "$nm\n";
           close $fh;
       }
       `sync`;
       `rm *delete-me`;
   }
Killed it dead in 3 hrs 18 minutes. Your mileage may vary.

May not be 'first hand' enough though.

Re:Wordpress site running on Raspberry Pi by epitomix on Friday November 30, 2012 @11:20PM (#4856823)
Nice work, thanks. I can see now how the cloud will be important with these small devices. I wonder how OUYA (and similar devices) is going to manage data and what the lifetime of the storage will be.
Re:Wordpress site running on Raspberry Pi by ChuckMcM on Saturday December 01, 2012 @05:47PM (#4859294)
FWIW, in normal operation my Raspberry Pi mounts everything but the root volume from NFS. Very few writes are left to go to the system.