search for: user_defined_blocksize

Displaying 4 results from an estimated 4 matches for "user_defined_blocksize".

2016 Apr 11
2
User controlled i/o block size?
...The end result is I'm only using 50% of the available bandwidth. Not that I'm copying my source folder tree to a newly created folder tree, so there is not any reading of the destination needed. My ultimate would be something like: while (files) { while (data_in_file) { read user_defined_blocksize to ram from file write user_defined_blocksize from ram to file } fsync() ensure 1.5 GB file is on disk } endwhile Thanks Greg -- Greg Freemyer www.IntelligentAvatar.net
2016 Apr 11
5
User controlled i/o block size?
...vailable bandwidth. >> >> Not that I'm copying my source folder tree to a newly created >> folder tree, so there is not any reading of the destination >> needed. My ultimate would be something like: >> >> while (files) { while (data_in_file) { read >> user_defined_blocksize to ram from file write >> user_defined_blocksize from ram to file } fsync() ensure 1.5 GB >> file is on disk } endwhile >> >> Thanks Greg -- Greg Freemyer www.IntelligentAvatar.net > - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._....
2016 Apr 11
0
User controlled i/o block size?
...50% of the available bandwidth. > > Not that I'm copying my source folder tree to a newly created folder > tree, so there is not any reading of the destination needed. > My ultimate would be something like: > > while (files) { > while (data_in_file) { > read user_defined_blocksize to ram from file > write user_defined_blocksize from ram to file > } > fsync() ensure 1.5 GB file is on disk > } endwhile > > Thanks > Greg > -- > Greg Freemyer > www.IntelligentAvatar.net
2016 Apr 11
0
User controlled i/o block size?
...t;> >>> Not that I'm copying my source folder tree to a newly created >>> folder tree, so there is not any reading of the destination >>> needed. My ultimate would be something like: >>> >>> while (files) { while (data_in_file) { read >>> user_defined_blocksize to ram from file write >>> user_defined_blocksize from ram to file } fsync() ensure 1.5 GB >>> file is on disk } endwhile >>> >>> Thanks Greg -- Greg Freemyer www.IntelligentAvatar.net >> > > - -- > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'...