How do I write large (250 GB) files continuously to an SSD without slowing down?

loganboy427

Honorable
Jan 22, 2013
6
0
10,520
I am doing scientific imaging and need to write very large, consecutive images to disk.

The camera I have is a 16 bit camera. Images from this camera are large (11,000Kb per frame). I want to record 60,000 images(frames) at a rate of 50 frames per second which equals 550 Mb/s of data writing to the disk. This needs to be done without interruption for the entire 60,000 frames which should take 20 minutes to capture all these images at the required frame rate.

I have upgraded to an SSD and am able to accomplish my goal but only for the first 3,000 frames. After 3,000 frames have been taken the PC slows down and the rate at which images are taken decreases to about 4 Frames/sec for roughly 1,000 images then it speeds back up for a while. This varying frame rate continues for the duration of the 60,000 images.

Unfortunately, this lag produces non-equivalent time between all my images.

I have plenty of storage space on my SSD, SATA III connection to the Motherboard.

Is there a way to continuously write these images to the Drive without having this lag?

Will purchasing a PCIe SSD solve this issue?
 
Solution
Thanks for all the assistance. I ended up getting the write speeds that I need by turning off write cache buffer dump in windows device manager for that drive. I'm able to get the max write speed from the ssd.
Since I am taking long segments of scientific data that represents a "repeatable experiment" I am not worried about a sudden loss of power. Plus it writes directly to disk at such a quick rate there is no real need that I see for the cache to be useful.
it slows down because the ssd garbage collector kicks in when it runs out of free nand cells. what's the ssd model? you can probably get away with a good quality 500gb-ish ssd which is way cheaper compared to the pci ex ssds.

try to run a ssd optimization before starting it should help. also install the os to another hdd and leave the ssd only for this. at the very least set the windows page file to another drive.

edit: not many ssd-s can sustain 550mb/s, certainly not for the whole capacity, any chance you could get to somewhere around 300-400mb/s? your best bet is a samsung 840 pro or sandink extreme II or intel 730 but at least 500gb in size and these can cost a bit...
 

loganboy427

Honorable
Jan 22, 2013
6
0
10,520
Thanks. The SSD is a Samsung 840 Pro.

I can cut down the frame rate but my experiment is critical to running at the full 50 FPS.

I will add a HDD and install the OS on that if you think it will help.

I guess I need to read up on the "Garbage Collector" as I am not familiar with it. I assume there are setting I can change this?
 

loganboy427

Honorable
Jan 22, 2013
6
0
10,520
I do notice the write times one this SSD are only 520Mb/s which should still allow for 40FPS.

I found this: http://www.maketecheasier.com/12-things-you-must-do-when-running-a-solid-state-drive-in-windows-7/

Useful or rubbish for what I want to do?
 
ok, for the 500gb version you should be able to make it work.

1.first try:
-free up as much space as possible on the ssd (75%+)
-move the windows page file to another drive (or disable it completely if you have enough ram)
-disable rapid mode
-use the ssd performance optimization quick cleanup on samsung magician
-try again

2.second try:
-install windows completely to another drive
-boot from there, do a full secure erase on the ssd
-try again

let us know how it works on both cases if the first one doesnt cut it...
 

loganboy427

Honorable
Jan 22, 2013
6
0
10,520
Thanks for all the assistance. I ended up getting the write speeds that I need by turning off write cache buffer dump in windows device manager for that drive. I'm able to get the max write speed from the ssd.
Since I am taking long segments of scientific data that represents a "repeatable experiment" I am not worried about a sudden loss of power. Plus it writes directly to disk at such a quick rate there is no real need that I see for the cache to be useful.
 
Solution