Productivity
Well it’s been a productive last few days at home which makes a pleasant change.
For a while now my DVB card has occassionally been locking up – at first I thought it was when it was running full screen that seemed to trigger it, then I moved onto thinking it was related to how much time it had been running for. Then I noticed that occasionally the PC seemed to start thrashing just before locking up. I then looked at slabtop and noticed that dentry_cache and sock_inode_cache are leaking.
Many, many kernel rebuilds and patching later, I thought I had tracked down the patch, but double checked and found out it was a different patch.
I’ve now produced a proof-of-concept code to demonstrate the leak and also patched dvbstream to stop it poll()ing 1500 times a second (saving 15% CPU in the process).
Posted: April 1st, 2006 under Linux.
Comments: none
Write a comment