- **status**: review --> fixed


---

** [tickets:#9] LOG: decouple from file system characteristics**

**Status:** fixed
**Created:** Mon May 06, 2013 08:57 AM UTC by elunlen
**Last Updated:** Wed Aug 14, 2013 01:41 PM UTC
**Owner:** elunlen

Merged from devel (#3003)

Currently the LOG server process (osaflogd) is single threaded. This means that 
if this single thread is hanging in a write() system call, it cannot answer to 
AMF health checks or LOG client requests for initialize, open etc.
With a single thread, the AMF healthcheck timeout takes the meaning of 
supervising the file system itself. That should not be the responsibility of 
the LOG service.
There are two (or more?) alternatives:
1) create one thread per stream. This stream should be responsible for all file 
system operation of one stream. The main thread will
2) using async io (man 7 aio) keeping a single thread
the advantage of 1) is that makes it rather easy to have flow control per 
stream by means of a size limited mailbox per stream.
not sure how the same could be achieved with aio.
After this change, AMF healthchecks, initialize and stream open/close should 
"never" be blocked like it can be today.

NOTE: This ticket also fix [#124] that can be closed when this ticket is closed


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to