Displaying 4 results from an estimated 4 matches for "data_in_file".
2016 Apr 11
2
User controlled i/o block size?
...top and reads
start up again.
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?
...'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
0
User controlled i/o block size?
...e 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
0
User controlled i/o block size?
...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
>>
>
> - --
> ~*-,...