Re: Constant access (write) time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 06, 2010 at 11:02:53PM +0100, Paul Chavent wrote:
> Hello.
> 
> I'm writing a real-time application that have to stream pictures to a SSD.
> 
> The pictures are 640x480x1 pnm that are stored in one tar file. I
> have one picture every 100ms.
> 
> The problem is that the access (write) time (from a userspace point
> of view) is not constant. I join you a piece of code that reproduce
> the problem.

What are you seeing/expecting?  Here's what I'm getting with the X25-M
Intel SSD:

       file size        duration

diff min : 3666548
diff moy : 6639261
diff max : 9429924
101 iterations
major pagefaults : 0
minor pagefaults : 0

It's rarely if ever triggering your "suspect write" fprintf.

> 
> This leads me to ask the following questions : the solution to this
> problem is
> 

If you are seeing something seriously worse, you might want to test
what happens if you write to the SSD directly; it may be the answer is

(4) Buy a competently engineered SSD.  :-)

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux