[ADMB Users] ADMB and MinGW-w64 users should update
dave fournier
davef at otter-rsch.com
Thu Nov 6 11:49:03 PST 2014
On 11/06/2014 11:43 AM, Johnoel Ancheta wrote:
No they seemed to be about the same. Point was I could write the entire
buffer
of 4294967304 bytes with one fwrite. So that would fix the immediate
problem.
> Did you find speed improvements?
>
> On Thu, Nov 6, 2014 at 9:42 AM, dave fournier <davef at otter-rsch.com
> <mailto:davef at otter-rsch.com>> wrote:
>
> On 11/06/2014 11:23 AM, Johnoel Ancheta wrote:
>
> I already did a bit of testing. test_write.cpp is the low level
> one and test_write2.cpp uses fopen.
>
>
>> Yes, this is a good idea. I'll try changing write functions and
>> compare speeds.
>>
>> On Thu, Nov 6, 2014 at 5:59 AM, dave fournier
>> <davef at otter-rsch.com <mailto:davef at otter-rsch.com>> wrote:
>>
>>
>> I did a bit of experimenting with writing large buffers to
>> disk and it appears that
>> replacing the low level writes with fwrites and open with
>> fopen etc . permits one
>> to write large buffers to disk in the code.
>>
>> A more interesting solution might be to optionally add
>> another thread which can write
>> portions of the buffer to disk as they become full.
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org <mailto:Users at admb-project.org>
>> http://lists.admb-project.org/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20141106/4c96c660/attachment.html>
More information about the Users
mailing list