Normally on dmesg I would get the *null* then remount message, but now I get this
It is attached to the SATA port on the mobo that the booklet said to attach the main drive to. Is this a problem?
I run sudo fstrim -v / on it and it shows me this
I have a trim.log in /var/log and this morning I was only able to trim once which was actually logged, the others, nothing, as if it did not happen. I ran a quick benchmark on it, results
SSD - Crucial m4 256gb and I know, too much trimming is bad, but I would like to set up something once a week perhaps or so, but it seems I can't even do that as the log simply does not log the trim cron job I set as a test. Using thes commands:
sudo (gksu is hidding somewhere) gedit /etc/cron.daily/trim
It worked once on auto, shortly after I set it, but then daily I check the log and nada. I ran it manually this morning, first run, nothing in the log, second run it logged it, 2 seconds after. First run it said it trimmed entire SSD but second run only trimmed maybe 80gbs?
I should mention I am getting very slow transfer speed on SATAIII HHDs about 60~80/s meanwhile on Win it WAS AROUND 100-110/s, I am sure this is a pebkac issue but I ran [QUOTE]sudo rm /var/lib/ureadahead/pack[QUOTE] as instructed in one of the ubuntu articles to see if I can rectify the issue, but no grapes.
Code:
[ 2.159562] scsi 1:0:0:0: Direct-Access ATA M4-CT256M4SSD2 070H PQ: 0 ANSI: 5 [ 2.159818] sd 1:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB) [ 2.159863] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 2.159922] sd 1:0:0:0: [sda] Write Protect is off [ 2.159924] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.159959] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.160515] sda: sda1 [ 2.160958] ata6.00: configured for UDMA/133 [ 2.160979] sd 1:0:0:0: [sda] Attached SCSI disk
I run sudo fstrim -v / on it and it shows me this
root@ralph-desktop:~# sudo fstrim -v /
/: 246782640128 bytes were trimmed
root@ralph-desktop:~# sudo fstrim -v /
/: 216203264 bytes were trimmed
root@ralph-desktop:~# sudo fstrim -v /
/: 0 bytes were trimmed
/: 246782640128 bytes were trimmed
root@ralph-desktop:~# sudo fstrim -v /
/: 216203264 bytes were trimmed
root@ralph-desktop:~# sudo fstrim -v /
/: 0 bytes were trimmed
root@ralph-desktop:~# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 9622 MB in 1.99 seconds = 4824.32 MB/sec
Timing buffered disk reads: 1348 MB in 3.00 seconds = 449.26 MB/sec
/dev/sda:
Timing cached reads: 9622 MB in 1.99 seconds = 4824.32 MB/sec
Timing buffered disk reads: 1348 MB in 3.00 seconds = 449.26 MB/sec
sudo (gksu is hidding somewhere) gedit /etc/cron.daily/trim
#!/bin/sh
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
I should mention I am getting very slow transfer speed on SATAIII HHDs about 60~80/s meanwhile on Win it WAS AROUND 100-110/s, I am sure this is a pebkac issue but I ran [QUOTE]sudo rm /var/lib/ureadahead/pack[QUOTE] as instructed in one of the ubuntu articles to see if I can rectify the issue, but no grapes.
Comment