New answers tagged io
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 ...
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 ...
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 ...
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.
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 ...
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 ...
Top 50 recent answers are included
Related Tags
io × 17655java × 5079
file × 2718
python × 2220
c × 1986
c++ × 1761
c# × 1452
haskell × 811
linux × 725
file-io × 545
multithreading × 464
android × 463
string × 462
performance × 439
arrays × 423
.net × 422
stream × 383
python-3.x × 360
sockets × 331
windows × 316
input × 311
ruby × 296
go × 236
asynchronous × 221
nio × 220