View Single Post
Staro 04.07.2014., 18:51   #108
zvonac
Premium
Moj komp
 
zvonac's Avatar
 
Datum registracije: Mar 2006
Lokacija: Sv.Nedelja
Postovi: 5,642
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..
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-07-04 18:45:10.png‎
Views:	525
Size:	220.6 kB
ID:	13577   Click image for larger version

Name:	Screenshot from 2014-07-04 18:55:02.png‎
Views:	528
Size:	260.0 kB
ID:	13578  

Zadnje izmijenjeno od: zvonac. 04.07.2014. u 18:56.
zvonac je offline   Reply With Quote