I know the speed differences and the advantage / disadvantage of each. My problem is that I cannot seem to find a way to directly access the devices and bypass all the caching and everything that occurs, because of this I cannot do what I need to and make sure writes occur in order at the time they are given.
I am at my wits end, I do not know where to go from here... My searches have shown that someone doing something similar needed to use mmap to map some memory and align it with something before using O_DIRECT. but the terminology is beyond me. I try using O_DIRECT and get an invalid argument.
Now I am trying it with O_SYNC but all it is doing is making it write at about 1mb every 2 minutes.