Richard Kennedy wrote:Good numbers.... Mel would be able to tell you that but I think we better figure out what went wrong first. The order and waste calculation occurs in slab_order(). If modifications are needed then they need to occur in that function. Looks like the existing code is not doing the best thing for dentries on your box? On my 64 bit box dentries are 208 bytes long, 39 objects per page and 84 bytes are lost per order 1 page. So this would not trigger your patch at all. There must be something special to your configuration. /linux-2.6$ slabinfo dentry Slabcache: dentry Aliases: 0 Order : 1 Objects: 554209 ** Reclaim accounting active Sizes (bytes) Slabs Debug Memory ------------------------------------------------------------------------ Object : 208 Total : 14215 Sanity Checks : Off Total: 116449280 SlabObj: 208 Full : 14179 Redzoning : Off Used : 115275472 SlabSiz: 8192 Partial: 32 Poisoning : Off Loss : 1173808 Loss : 0 CpuSlab: 4 Tracking : Off Lalig: 0 Align : 8 Objects: 39 Tracing : Off Lpadd: 1137200 Can you post the slabinfo information about the caches that you are concerned with? Please a before and after state. --
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| majkls | sys_chroot+sys_fchdir Fix |
| Paul Mackerras | Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
