Thanks. Will Huge Tlb support is there in 2.4 series. I have found this
document only for 2.6 series.
Regards,
Sunil
At 07:11 PM 2/25/2005, Erik Mouw wrote:
On Fri, Feb 25, 2005 at 05:19:15PM +0530, Sunil Khandelwal wrote:
> We have hardware accelerator for Video CODEC. The driver for this
> accelerator allows mapping of device memory(4MB).
>
> Our observation on other OS is that if 1MB page size is used in place of 4
> Kb page size(only for this device memory), we get better performance since
> there are less of tlb flushes.
>
> Is it possible for driver in Linux to allows mmap with page size of 1 MB
> for device memories so that we can get equivalent performance in Linux.
I haven't tried it, but maybe HugeTLB can help you. See
Documentation/vm/hugetlbpage.txt .
Erik
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/