Skip to main content

New answers tagged

3 votes
Accepted

Does ferror() indicator remain on when writing to a file?

My question is, does the C standard guarantee that the ferror() indicator remains on unless I explicitly call clearerr() The error indicator for a FILE stream is only cleared in one of two cases: A ...
dbush's user avatar
  • 235k
Advice
0 votes
0 replies
0 views

Understanding "I/O depth" aka "queues" (e.g. in the fio "flexible I/O tester")

I was recently struggling to get any sort of IO depth with libaio too (and posixaio). I would specify --ioengine=libaio --iodepth=8 --direct=1, but fio would always override my choice and show ...
JonathonFS's user avatar
Advice
0 votes
0 replies
0 views

Understanding "I/O depth" aka "queues" (e.g. in the fio "flexible I/O tester")

And so ultimately, I think the answer to my practical question is something along the lines of "both are equivalent except one uses multiprocessing (with its inherent overhead) whereas the other ...
RJVB's user avatar
  • 860
Advice
0 votes
0 replies
0 views

Understanding "I/O depth" aka "queues" (e.g. in the fio "flexible I/O tester")

OK, so that indeed makes the IO depth question clearer (thanks :)) and it prompted me to have another, better look if the "offload" mode didn't spawn threads. And it turns out it does.
RJVB's user avatar
  • 860
Advice
1 vote
0 replies
0 views

Understanding "I/O depth" aka "queues" (e.g. in the fio "flexible I/O tester")

The most simple way to have IO queue depth > 1 is to have multiple processes or threads all doing I/O at once, like a web server that's serving 50 different requests at the same time, each one ...
Peter Cordes's user avatar
Best practices
0 votes
0 replies
0 views

Is there any good documentations about Java interacting with serial ports?

That is because it is not like there is some kind of singular protocol for serial ports. Serial ports transfer and read bytes, that's it. What bytes are transmitted or read fully depends on the device ...
Gimby's user avatar
  • 5,389

Top 50 recent answers are included