ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
Nact has joined #armlinux
LeSpocky has quit [Ping timeout: 268 seconds]
LeSpocky has joined #armlinux
wens has quit [Quit: leaving]
wens has joined #armlinux
russ has quit [Remote host closed the connection]
wens has quit [Quit: leaving]
Nact has quit [Quit: Konversation terminated!]
wens has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 268 seconds]
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
<arnd>
The 16KB page kernels are noticeably better in this test case than I had expected, and this is not even on Apple hardware that has additional optimizations for 16KB pages (as used by MacOS and iOS)
<arnd>
One funny bit that I found was that as soon as the machine went deeply into swap, I could never get it to recover from that other than by rebooting
<arnd>
e.g. building kernels with 2GB of RAM and 16 cores works fine without paging, hogging some of the memory using mlock() obviously makes it slower, but after freeing the memory hog it would need more than 2GB to build a kernel without paging
<milkylainen>
I wouldn't have expected a 16k page to make that much difference. Pressure on TLB? Hardware counters? Sounds too large a gap for just TLB pressure?
iivanov has quit [Quit: Leaving...]
<ukleinek>
I wonder if Apple also used "Linux kernel builds per hour" as a benchmark before deciding to pick 16k page sizes.
<arnd>
I think Apple went the other way, and their hardware team said they really want large L1 caches, so the OS team made their kernel work better with 16KB pages. There is usually a penalty in L1 access otherwise. With 128KB 8-way set-associative L1 VIPT Dcache and 16KB pages, you get a really nice balance. With 4KB pages you'd need either a PIPT cache or (theoretically) 32 ways.
tudorel has quit [Quit: tudorel]
Amit_T has quit [Ping timeout: 265 seconds]
monstr has joined #armlinux
XV8 has joined #armlinux
tudorel has joined #armlinux
Norkle has joined #armlinux
wwilly has joined #armlinux
Amit_T has joined #armlinux
XV8 has quit [Ping timeout: 260 seconds]
XV8 has joined #armlinux
milkylainen has quit [Quit: Connection closed]
ardb has quit [Ping timeout: 268 seconds]
ardb has joined #armlinux
torez has joined #armlinux
wwilly has quit [Quit: Leaving]
ardb has quit [Ping timeout: 240 seconds]
monstr has quit [Remote host closed the connection]
guillaume_g has quit [Quit: Konversation terminated!]