ld using 2 byte writes

Douglas B Rupp rupp@adacore.com
Fri Jan 22 18:13:05 GMT 2021


Greetings,

We have a customer complaint regarding performance with a networked disk 
on a windows host, when creating a .dll.

The complaint is a local link takes 60 seconds, where as a networked 
link takes 400 seconds.   Drive characteristics are similar and the 
network itself is "very fast".

Using ProcessMonitor the customer found ld is using a lot of WriteFile 
calls with 2 bytes, the biggest was around 200 bytes.

Curious if this would be a worthwhile project, e.g. an option to write 
in X MB chunks?   Possible also for .o files as well as for ld.

Douglas Rupp, AdaCore



More information about the Binutils mailing list