[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
max read size
Hi,
I was wondering if there is a maximum number of bytes a read system
call services. I see that when I request for a huge number of bytes say
10 million bytes ( read(fd, buffer, 10000000)) it does not read the
requested number of bytes even though the file I am reading is greater
than the request. I executed on 3 different systems and saw that the
maximum number of bytes returned were 132880, 136920, 6080. Where in the
kernel is this max value stored.
Thanks,
Raghu.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/