An open API service indexing awesome lists of open source software.

https://github.com/johnramsden/invokegc


https://github.com/johnramsden/invokegc

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

## Invoke GC

Initiate garbage collection on SSD.

```
Usage: ./invokegc
-d
-w
-r
-s
[-D use O_DIRECT|O_SYNC]
[-o (read only)]
[-l (load)]
```

### Examples

Load RAW disk `/dev/nvme1n1` with 32 write threads:

```shell
./invokegc -d /dev/nvme1n1 -w 32 -r 0 -s 894 -l
```

Run R/W with 32 R/W threads each:

```shell
./invokegc -d /dev/nvme1n1 -w 32 -r 0 -s 894
```

Run R/W with 32 R/W threads each using O_DIRECT|O_SYNC:

```shell
./invokegc -d /dev/nvme1n1 -w 32 -r 32 -s 894 -D
```

Run R/O with 32 R threads:

```shell
./invokegc -d /dev/nvme1n1 -w 0 -r 32 -s 894 -o
```