Jump to content

TRIM for XP


Dietmar

Recommended Posts

Hi,

is there an easy test, if any tool can make TRIM successful on any SSD or nvme disk?

I ask this, because I checked a lot of tools under XP SP3, but still I am not sure, if TRIM works on a nvme disk.

Under Win10, after running TRIM with any tool, Win10 tells, that no TRIM has been done on this nvme device

Dietmar

Link to comment
Share on other sites


9 minutes ago, Dietmar said:

Hi,

is there an easy test, if any tool can make TRIM successful on any SSD or nvme disk?

I ask this, because I checked a lot of tools under XP SP3, but still I am not sure, if TRIM works on a nvme disk.

Under Win10, after running TRIM with any tool, Win10 tells, that no TRIM has been done on this nvme device

Dietmar

Hello @Dietmar! Trimcheck does this job. I don't know if it is XP-compatible. But I think you will see it when starting this tool. The last/latest version is Trimcheck 0.7 which you can get here: http://files.thecybershadow.net/trimcheck/
Older versions are also available there.

Cheers, AstroSkipper matrix.gif

Link to comment
Share on other sites

13 hours ago, Dietmar said:

@AstroSkipper

I just test Trimcheck 0.7 under XP SP3.

For TRIM I use OODefrag17ProfessionalEnu.

Trimcheck tells me after this procedure, that no TRIM has been done on the Samsung 970 Pro nvme disk running under XP SP3 as bootdevice

Dietmar

Glad to hear that this tool is working under Windows XP. BTW, I use O&O Defrag Professional 17.5.559.0, too. A great defragmenter (although SSD drives do not need to be defragmented)! In any case, the best I ever used to optimise HDDs under Windows XP. :thumbup But I do not use SSDs under Windows XP. :no: Maybe, you try a tool from the manufacturer, in your case Samsung, to trim your SSD. If such a tool also failed, you would know that presumably a trim is not possible under this configuration (hardware and OS). :dubbio: Or, try to perform a trim using a Linux Live System via DVD! Linux works often much better if hardware problems occur. :)

Cheers, AstroSkipper metiers1.gif

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

@Dietmar I forgot to ask whether TRIM is activated on your SSD at all. Try this cmd command to check it: fsutil behavior set DisableDeleteNotify. If the output is 1, it is disabled. To activate TRIM use this command: fsutil behavior set DisableDeleteNotify 0. Or, use a tool like SSD-Z if your SSD drive is supported.

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

2 hours ago, Dietmar said:

@AstroSkipper

On Win10, I can TRIM this nvme device easy.

So it looks, that until now no nvme TRIM tool is on the market, that runs under XP SP3

Dietmar

I found two links (German websites) abour TRIM under Windows XP
https://www.pcwelt-forum.de/threads/trim-bei-win-xp-ausfuehren-geloest.514205/index.html
https://www.die-oswalds.de/blog/2019/09/25/windows-xp-und-die-ssd/#:~:text=Windows XP unterstützt noch kein,TRIM-Support vom OS überflüssig. 
And you can try out the manufacturer's tool Samsung Magicianhttps://semiconductor.samsung.com/consumer-storage/support/tools/

PS: Thanks to this new annoyance called Flood Control I had to wait 1400 sec to post this reply. :realmad: No chance to reply as usual. Always a message about a too short time frame blablabla. :thumbdown I am really glad to be a normal member. :rolleyes:

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

12 hours ago, Dietmar said:

is there an easy test, if any tool can make TRIM successful on any SSD or nvme disk?

I wrote about it recently: TRIM on NVMe

I thought TRIM did not work but it turned out that I used a too small file for manual testing:
Too small file for test TRIM

If your file system is NTFS and the file is small, it is a resident file, it does not get a separate cluster, it is stored inside the $MFT record. And because the record is part of the $MFT file, it is also properly shocked in the 0x80 record attribute describing this file. That's why TRIM has no right to bite him:
no-cluster.png

The trimcheck-0.7 program does a TRIM test with a 64MB file.

O&O Defrag v17.5.559 + NVMe 1.3 Stchrom driver = TRIM not works
stchrom-drv-no-TRIM.png

O&O Defrag v17.5.559 + ported NVMe Generic_NVMe_6.1.7601.23403 or Samsung_NVMe_3.3.0.2003 driver = TRIM works
TRIM-works.png

Edited by reboot12
Link to comment
Share on other sites

@Dietmar

FYI, there are already three other threads on the subject of TRIM under Windows XP here in the forum. I don't know if you have looked through them yet. Here are the links:
https://msfn.org/board/topic/181729-ssd-toolkit-for-xp/
https://msfn.org/board/topic/184168-trim-on-nvme-disk-under-winxp/#comment-1231474
https://msfn.org/board/topic/173482-can-windows-xp-pro-x86-safely-trim-an-ssd/

Cheers, AstroSkipper matrix.gif

 

 

Edited by AstroSkipper
Link to comment
Share on other sites

@AstroSkipper

Now I do not think, that Trimcheck 0.7 is a tool, that can always correct tell,

it a TRIM operation has been done successfull or not.

I make a try for to see this behavior with my 970 Pro nvme disk.

Under win10 I use TRIM. Before I set up this jason file from Trimcheck.

But after TRIM via Win10, Trimcheck still tells, that no TRIM has been done on this disk.

I know to 100%, that TRIM from win10 works on this nvme disk.

So, until now to valid prove, if TRIM happens or not

Dietmar

Link to comment
Share on other sites

2 hours ago, Dietmar said:

@AstroSkipper

Now I do not think, that Trimcheck 0.7 is a tool, that can always correct tell,

it a TRIM operation has been done successfull or not.

I make a try for to see this behavior with my 970 Pro nvme disk.

Under win10 I use TRIM. Before I set up this jason file from Trimcheck.

But after TRIM via Win10, Trimcheck still tells, that no TRIM has been done on this disk.

I know to 100%, that TRIM from win10 works on this nvme disk.

So, until now to valid prove, if TRIM happens or not

Dietmar

Here is a link explaining what Trimcheck actually does to prove whether a TRIM command was performed successfully or not:
https://www.thessdreview.com/daily-news/latest-buzz/trimcheck-does-your-ssd-really-have-trim-working/
Maybe, it is useful for you to shed more light on this matter.

Greetings, AstroSkipper smilie-denk-58.gif

Edited by AstroSkipper
Link to comment
Share on other sites

@LiveXP Sorry, I meant @reboot12

JFYI and for the record, the limit in size for $MFT resident files is around 740 bytes on normal 512 bytes/sector device ($MFT entry size 1024 bytes) and around 3770 for 4k sector device ($MFT entry size 4096 bytes):

https://www.forensicfocus.com/forums/general/mft-resident-data/

jaclaz

 

Edited by jaclaz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...