login
Header Space

 
 

dragonflybsd-kernel mailing list

FromSubjectsort iconDate
km b
4mb PAGES for mbuf clusters
G'day Guys, Just a quick question.
Jul 12, 2:42 am 2007
Erik Wikström
Re: 4mb PAGES for mbuf clusters
And the question is? -- Erik Wikström
Jul 12, 4:08 am 2007
Karl Sjödahl - dunceor
Re: 4mb PAGES for mbuf clusters
"However, I am wondering whether the same tuning can be applied to other parts of the kernel? e.g, can't we map mbuf clusters to 4MB MMU pages instead of 4K pages to improve the performance under heavy network load?" <-- That might be the question?
Jul 12, 4:20 am 2007
km b
Re: 4mb PAGES for mbuf clusters
that is the question. cheers kmb -- Something is wrong up on cloud # 9!
Jul 12, 5:44 am 2007
Simon 'corecode' Sch...
Re: 4mb PAGES for mbuf clusters
I am no expert in this area, however I'll try to reason: - Data gets written by DMA to buffers, so TLB is no issue here - The kernel usually only inspects the packet headers, and they are so small that there is only one pagetable lookup necessary - Copying data to userland anyways incurs pagetable lookups But I agree, having all kernel (including data) as 4MB tables probably=20= won't hurt performance. What might be much more efficient could be the=20= new GLOBAL page attribute, which p...
Jul 12, 6:37 am 2007
previous daytodaynext day
July 4, 2007July 12, 2007July 13, 2007
speck-geostationary