• Stars
    star
    236
  • Rank 164,829 (Top 4 %)
  • Language
    D
  • Created over 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SSD TRIM check tool for Windows

trimcheck

This program provides an easy way to test whether TRIM works on your SSD. It uses a similar method to the one described here, but uses sector calculations to avoid searching the entire drive for the sought pattern. It also pads the sought data with 32MB blocks of dummy data, to give some room to processes which may otherwise overwrite the tested deleted disk area.

The program will set up a test by creating and deleting a file with unique contents, then (on the second run) checks if the data is still accessible at the file's previous location.

Download

You can download a compiled version on my website, here.

Usage

Place this program file on the same drive you'd like to test TRIM on, and run it. Administrator privileges and at least 64MB free disk space will be required.

Building from source

A D compiler is required.

You can use the rdmd tool (included with DMD) to build trimcheck:

$ git clone --recursive https://github.com/CyberShadow/trimcheck
$ cd trimcheck
$ rdmd --build-only trimcheck

License

trimcheck is available under the Mozilla Public License, version 2.0.

Changelog

trimcheck v0.7 (2014-08-16)

  • Fix incorrect free space detection

trimcheck v0.6 (2014-03-23)

  • Fix support for drives with big clusters
  • Fix false negatives due to compressed filesystems

trimcheck v0.5 (2013-08-21)

  • Write fully random data as padding instead of a repeating pattern (to avoid possible intervention of deduplication components)
  • Cryptographically sign executable

trimcheck v0.4 (2013-02-18)

  • Remove read checks, as they caused tested data to not be TRIMmed in some configurations
  • Add symlink detection

trimcheck v0.3 (2013-01-09)

  • Add support for SSDs which present cleared sectors as filled with 1s instead of 0s

trimcheck v0.2 (2012-12-10)

  • Pad tested data with 32MB of dummy data on either side

trimcheck v0.1 (2012-12-09)

  • Initial release

More Repositories

1

aconfmgr

A configuration manager for Arch Linux
Shell
931
star
2

RABCDAsm

Robust ABC (ActionScript Bytecode) [Dis-]Assembler
D
411
star
3

DFeed

D news aggregator, newsgroup client, web newsreader and IRC bot
D
368
star
4

btdu

sampling disk usage profiler for btrfs
D
332
star
5

dhcptest

Cross-platform DHCP test client
D
315
star
6

ae

An auxiliary general-purpose D library
D
168
star
7

DustMite

General-purpose data reduction tool
D
112
star
8

hax11

Hackbrary to Hook and Augment X11 protocol calls
C
98
star
9

term-keys

Lossless keyboard input for Emacs
Emacs Lisp
90
star
10

Digger

A tool to build D and bisect old D versions
D
56
star
11

AutoMouseLock

Multi-monitor gaming helper
C++
34
star
12

WormKit

W:A Extension Framework
Pascal
30
star
13

wp2git

Downloads and imports Wikipedia page histories to a git repository
D
27
star
14

DuolingoMoreKeys

JavaScript
24
star
15

SlimD

Bare-bones D on Win32
D
20
star
16

swfutilsex

Some classes that use or extend the Adobe Flex 4 SDK that may be useful for reverse engineering.
Java
20
star
17

dmdprof

DMD compilation time profiler
Python
19
star
18

tree-sitter-d

JavaScript
19
star
19

DBuildStat

Tools to measure and visualize performance of building D programs
D
17
star
20

Ditto

Fork of Ditto Clipboard Manager
C++
14
star
21

TrenD

D stats/benchmarks and historic results
JavaScript
13
star
22

MMTool-Extract-All

D
12
star
23

csfo4

Fallout 4 native mods
D
11
star
24

MyWormNET2

WormNET server written in D
D
11
star
25

dscripten-tools

Alternative build toolchain for Dscripten
D
11
star
26

LiteUnits

Lightweight Delphi units to replace heavy system units like SysUtils. I did not write these, I only maintain them for personal projects.
Pascal
11
star
27

dlint

D
10
star
28

DMapTreeMap

Visualizes D map files in a treemap
D
9
star
29

EnvMan

FAR plugin for comfortable management of environment variables
Pascal
9
star
30

steamkeyactivator

Cross-platform Steam bulk key activator
D
9
star
31

dcaptcha

CAPTCHA for D programming websites
D
8
star
32

thincow

Create a deduplicated, COW view of block devices as a FUSE filesystem
D
8
star
33

Diamond

D memory debugger and profiler
D
8
star
34

keygen.js

<keygen> polyfill for modern browsers
JavaScript
7
star
35

DDD

Generic External-Memory Delayed-Duplicate-Detection Search Engine for Implicit Graphs. Based on Kwirk DDD solver ( http://github.com/CyberShadow/kwirk ).
C++
7
star
36

D-dot-git

Git repository generator for all D components
D
7
star
37

graphstudio

Fork of MONOGRAM GraphStudio
C++
7
star
38

misc

Miscellaneous (non-script) utilities to complement my dotfiles
D
7
star
39

FiddlerAutoCapture

Fiddler extension to automatically save all content hierarchically
C#
7
star
40

DAppenderResearch

Benchmarks and experiments in writing appenders in D
D
6
star
41

turbotuber

relentless external youtube-dl downloader for YouTube
D
6
star
42

cacheset64

64-bit CacheSet
C++
6
star
43

squelch

D
6
star
44

rtf2any

D
5
star
45

putty-terminfo

Attempt at a better terminfo for PuTTY
5
star
46

steamguides

Steam Guide Uploader
D
5
star
47

ProSnooper

ProSnooper is an application that lets you connect to WormNET, chat on the channels, join and host games.
Pascal
5
star
48

MyWormNET

Personal WormNET server software
PHP
5
star
49

data.d

D wrapper for raw data located in unmanaged memory.
D
5
star
50

SimpleIndent

C++
5
star
51

ProcMonTools

Process Monitor stuff
D
5
star
52

ripfs

Simple deduplicating userspace filesystem for recordings of Internet radio stations.
D
5
star
53

KeyboardEmperor

Kernel-mode hack to speed up USB keyboards [I have no idea what I'm doing]
C
5
star
54

dbt-mode

Emacs Lisp
4
star
55

DBugTests

Curated D issue test case database
D
4
star
56

TextNavigate

Obsolete. See:
C++
4
star
57

FAR

Obsolete, see https://github.com/CyberShadow/farmanager
C++
4
star
58

DDD-Kwirk

Kwirk module for generic DDD solver ( http://github.com/CyberShadow/DDD )
C++
4
star
59

UniUpload

CyberShadow's file uploader
Pascal
4
star
60

term-title

Emacs Lisp
4
star
61

xmacro

Fork of the xmacro program with some essential fixes
C
4
star
62

GHDaemon

Caching GitHub API proxy for Digger
D
4
star
63

ForumAntiSpam

Client-side forum spam filter
D
4
star
64

localcmdhistory

C++
4
star
65

colorout

Colorize your compiler’s output
D
3
star
66

cyberzshadow

My zsh theme
Shell
3
star
67

d-btrfs

D
3
star
68

win32

Shell
3
star
69

TimeTracker

Minimalistic time-tracking program for Windows
D
3
star
70

json2colorer

Utility to convert DMD .json output to Colorer wordlists
D
3
star
71

cirun

[WORK IN PROGRESS] Stand-alone CI test runner
D
3
star
72

ColorCalc

Command-line calculator for hex RGB colors.
D
3
star
73

image-quality

Quantifying generation loss using machine learning
Python
3
star
74

kwirk

Kwirk C++ solver. Obsolete, this project was split up into a generic DDD engine ( http://github.com/CyberShadow/DDD ) and the Kwirk module for it ( http://github.com/CyberShadow/DDD-Kwirk ).
C++
3
star
75

ShellUtils

Some stuff that goes into /usr/local/bin on my machines
Shell
2
star
76

DDraw

Deprecated project, merged into ae:
D
2
star
77

DomainManager

D
2
star
78

pas2d

Simplistic text processor for doing part of grungework of Pascal->D conversion.
D
2
star
79

DvorakLayouts

Dvorak keyboard layouts
Shell
2
star
80

Drain

D
2
star
81

metahumble

HumbleBundle Metalink generator
Python
2
star
82

multishellcheck

Lint multi-file scripts with ShellCheck
Shell
2
star
83

reduce

General-purpose data reduction tool
D
2
star
84

Team15

D1/Phobos library with various (mostly network) code
D
2
star
85

photosensitivity

Makefile
2
star
86

SeatD

SeatD SVN mirror
D
2
star
87

rwm

Remote Window Manager - list and manipulate windows remotely
D
2
star
88

SteamKeyAdder

Easily add bundle/retail keys to your Steam account
D
2
star
89

function_factory

D
2
star
90

ColorerVCLog

Combine Visual C++ build logs with colorer HTML output
D
2
star
91

DAutoTest

My D autotester (currently for just the documentation)
D
2
star
92

git-splice

Programs to splice histories of git repositories
D
2
star
93

ddoc2ghmd

Extremely simple filter to convert DMD Ddoc output to github Markdown
D
2
star
94

CpuUsageMon

D
2
star
95

AutoFix

D
2
star
96

PuttySessionsToSSH

Convert PuTTY sessions to OpenSSH config
D
2
star
97

monocre

D
1
star
98

dbot-server

D
1
star
99

dchmgen

D CHM generator
D
1
star
100

MyStrUtils

Some Delphi functions for working with strings and string arrays.
Component Pascal
1
star