Windows 7 "TRIM" for Windows XP in SSD - Same Drive

NARUTO-v-SASUKE

Junior Member
Jun 1, 2011
4
0
0
Dual Boot on one SSD: Crucial M4

Need both OS: Windows 7 & Windows XP (don't care for Virtual XP)

Windows XP does not support TRIM (lost of performance over time): also
don't care for any gimmick "garbage collection/3rd party utilities)

HOWEVER, WILL WINDOWS 7 "TRIM" for Windows XP since BOTH
residing in the same SSD??!! (regardless of partitions since they're both
residing in the SAME SSD). Every time when Windows 7 is running?

Trim happens automatically in Windows 7.

Am I right or wrong? Interesting YES??!
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
Win7 will not trim for both.
TRIM is automatically sent by win7 for & when you delete a file you delete or format a partition. If you have a HDD then it ignores TRIM as an unknown command, if you have an SSD then it uses it.

Only the win7 partition will be TRIMed. However, with the way SSDs work (a lookup table with wear leveling) you will end up writing to a combination of both TRIMed and unTRIMed cells. I would expect performance to be in the middle between trimmed and untrimmed performance levels.
 
Last edited:

NARUTO-v-SASUKE

Junior Member
Jun 1, 2011
4
0
0
Taltamir:

If I purposely "generate" activity in the Windows XP partition (ALL within the same SSD drive) wouldn't that trigger "TRIM" while I'm using Windows 7? For example, copy files over to the XP partition. Just to be clear NO mechanical HDD here.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Creating files doesn't issue a TRIM because you're adding data, not removing it. TRIM isn't some magical, global thing. It's only issues for pages/cells when data is deleted from them so you would need to move or delete the file data for TRIM to be sent for those pages/cells.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
So if I move/delete files on the XP partition Windows 7 WILL ISSUE trim command to those partitions correct?

Yes it should, however just renaming a file or moving it to another directory only affects the MFT so you'd need to delete/restore pretty much everything on the drive to do a full TRIM sweep.
 

sub.mesa

Senior member
Feb 16, 2010
611
0
0
What you can do is write large files to your XP partition while being inside Windows 7, writing the filesystem to its limit. Then delete those files, at which point all that space will be TRIMed. You only need to do this once in a while. The only requirement is that you're using NTFS filesystem for Windows XP, which i assume you are.
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
while you could do the methods suggested above:
1. It wastes lifespan
2. It takes up your time for some pretty minimal increases in performance.

Although interestingly the intel SSD toolbox has a tool that does exactly that on a schedule automatically if you let it... by default once a week.
And there is some freeware program that does the same (I forgot its name)