SeekerOfKnowledge
Programmer
I am interseted in improving the performance of the
current solution implemented : All processes that need
to write data to the file (binary file, large quantities of data), write the records to shared memory, where the data
is collected a-synchronousely by a special process that
writes the datas to the file. This ensures that no
racing is done on the file, and that data is coherent.
Access to the shared memory is synchorinized by a lock
(semaphore). However, this has quite a large overhead in
resource management.
The question is : Are the system buffers protected from
mutual writes to a file by several processes ?
NOTE : I am using Ada83, not the basic system call "Write",
and I am not sure as to how this service is implemented.
I am running on a RS6000 machine, AIX4.3.2
Thanx ======
SeekerOfKnowledge
======
current solution implemented : All processes that need
to write data to the file (binary file, large quantities of data), write the records to shared memory, where the data
is collected a-synchronousely by a special process that
writes the datas to the file. This ensures that no
racing is done on the file, and that data is coherent.
Access to the shared memory is synchorinized by a lock
(semaphore). However, this has quite a large overhead in
resource management.
The question is : Are the system buffers protected from
mutual writes to a file by several processes ?
NOTE : I am using Ada83, not the basic system call "Write",
and I am not sure as to how this service is implemented.
I am running on a RS6000 machine, AIX4.3.2
Thanx ======
SeekerOfKnowledge
======