Trim command SSD

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Trim command SSD

Re: Trim command SSD

Post by trust_me » 13 Sep 2018, 01:51

Thanks garry :)

Re: Trim command SSD

Post by garry » 12 Sep 2018, 15:03

I've read this (german) , but I used in WINDOWS-10
a short script to show if TRIM is ON/OFF

echo if disabledeletenotify=0 then OK ( TRIM is ON )
echo command to ask =
echo fsutil behavior query disabledeletenotify
echo otherwise use (set) =
echo fsutil behavior set disabledeletenotify 0

Code: Select all

;- fsutil SSD Tool
/*
F1=http://www.computerbild.de/artikel/cb-Tipps-Software-Windows-fuer-SSDs-optimieren-16282671.html
run,%f1%
return

;-PAGE 22 <22 > : TRIM  / ON-OFF with  fsutil , if 0 is ok ( TRIM is ON )

Nicht nur Festplatten auch SSDs arbeiten im Laufe der Zeit langsamer , da sie
Speicherbereiche von gelöschten Dateien nicht sofort mit neuen Dateien beschreiben
können. Vor dem Speichern einer neuen Datei in solche Bereiche ist es nötig, sie zu
leeren. Das bremst Schreibvorgänge. Hier kommt die TRIM-Funktion ins Spiel: Sie
bereinigt die SSD-Bereiche gelöschter Dateien von Zeit zu Zeit automatisch. Sie sollten
prüfen, ob Windows Ihrer SSD den TRIM-Befehl schickt - schalten Sie die Funktion
gegebenfalls ein . Das klappt ohne Zusatzsoftware : Oeffnen Sie die Kommandozeile,
indem Sie im Startmenü nach 'cmd' suchen und CTRL+Shift+Enter drücken. (WIN+r > cmd )
Erscheint eine Warnmeldung der Benutzerkonten-Steuerung, klicken Sie darin auf Ja .
Geben sie den Befehl 
-fsutil behavior query disabledeletenotify
ein, um zu prüfen, ob TRIM aktiviert ist . Erscheint das Ergebnis 0, ist alles okay.
Gibt das System eine 1 aus, is TRIM ausgeschaltet - korrigieren Sie die Einstellung 
-fsutil behavior set disabledeletenotify 0
*/

/*
adm:=a_isadmin
if (adm=0)
Gosub,admin1
*/

;- show drive c
e4x=
(Ltrim Join&
@echo off
echo if disabledeletenotify=0 then OK ( TRIM is ON )
echo command to ask =
echo fsutil behavior query disabledeletenotify
echo otherwise use =
echo fsutil behavior set disabledeletenotify 0
echo --------------------------------
cd\
c:
fsutil behavior query disabledeletenotify
)
Run, %COMSPEC% /k %e4x%
return

/*
admin1:
try
  Run, *RunAs "%A_ScriptFullPath%"
Exitapp		
Return
*/

Trim command SSD

Post by trust_me » 12 Sep 2018, 08:21

I replaced harddisk on a winXP system with a ssd but i cannot find a compatible third party trim utility ( AHCI not avaiable ).I wonder if i could use a win10 pc just to do the trimming from time to time.

The info on trim is quite confusing because it seems that it is the operating system that informs the ssd during the trim which locations can be erased so linking it to another pc seems to be unlogical.The internal "garbage collection" of a ssd seems not to take care of deleted files easily

Anyone who can clear this up :)

Thanks in advance.

btw it works great on winxp start up is 15sec instead of almost 2 min !!

Top