From: Zoran V. <zv...@ar...> - 2006-07-12 21:02:24
|
Am 12.07.2006 um 22:04 schrieb Mike: > > mmap is good because it kind of allows zero-copy from usercode.. > however it's not useable in my situation directly because of the > 32-bit address space restriction - can't mmap 65GB (650MB*100) of > address space... The solution I've seen others use is to mmap in 16MB > chunks and move the mmaped chunk as the transfer progresses along the > file. I wouldn't be surprised to see some clever sendfile implementations mmap'ing the file and there you go with the 32-bit problem! I do not know... I believe you may be good advised to look into the actual platform implementation of the sendfile. Cheers Zoran |