Izgleda da je po defaultu trim na samsungovom ssdu upaljen..
https://sites.google.com/site/lightr...bledandworking
Okinul sam ovu skriptu, ali...
Trebal bi dobit ovo: If TRIM is properly working the result of the last command should be a bunch of zeros..
Al u mom slučaju ko da nekaj ne štima, prva slika...
Dok pokrenem u terminalu, sudo fstrim -v /
/: 1129930752 bytes were trimmed
Poovom bi ispalo da radi...hmmm
EDIT: Pokrenul sam i ovo:
Become root:
sudo -i
Make a 50MB file with random data:
dd if=/dev/urandom of=tempfile count=100 bs=512k oflag=direct
Check the starting LBA address of the file:
hdparm --fibmap tempfile
Read the first address of the file, note that you need to put the first LBA in place of [ADDRESS]:
hdparm --read-sector [ADDRESS] /dev/sdX
Now remove the file and synchronize the filesystem:
rm tempfile
sync
Use the same command as in 4 to re-read the LBA:
hdparm --read-sector [ADDRESS] /dev/sdX
Al i tu nekaj ne štima, druga slika..