Subject: Re: fsync performance hit on 1.6.1
To: Daniel Brewer <danielb@cat.co.za>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-kern
Date: 07/08/2003 10:16:26
On 2003.07.07 09:45 Daniel Brewer wrote:

> For our application, we have 1 process capturing images from a
> frame-grabber and dumping them to a file in a memory file system.=20
> It sends a UDP message to another process that reads the images=20
> from this file and writes them to disk in a database.=20
Why don't you use a AF_UNIX socket to pipe the image data from process
to process or SYSV sharerd memory with semaphore interlocking? The later
would be the fastetst way to transfer the data and it avoids any file
system interaction.=20
--=20


tsch=FC=DF,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/