> > your memnotify check routine is written by native or java?Wow! you have 2 /dev/mem_notify checking routine? java routine free java memory, native routine free native memory, right? okey. Ah, That's your implementation idea. I hope know why don't works well my current implementation at first. okey. Mapped of /proc/meminfo mean mapped pages with file backing store. therefore, that isn't contain anonymous memory(e.g. java). I hope know your system memory usage detail. your system have 128MB, but your graph vertical line represent 0M - 35M. Who use remain 93MB(128-35)? We should know who use memory intead decrease cached memory. So, Can you below operation before mesurement? # echo 100 > /proc/sys/vm/swappiness # echo 3 >/proc/sys/vm/drop_caches and, Can you mesure AnonPages of /proc/meminfo too? (Can your memory shrinking routine reduce anonymous memory?) if JVM use memory as anonymous memory and your memory shrinking routine can't anonymous memory, that isn't mem_notify proble, that is just poor JVM garbege collection problem. Why I think that? mapped page of your graph decrease linearly. if notification doesn't happened, it doesn't decrease. thus, in your system, memory notification is happend rightly. but your JVM doesn't have enough freeable memory. if my assumption is right, increase number of memory notification doesn't solve your problem. Sould we find way of good interaction to JVM GC and mem_notify shrinker? Sould mem_notify shrinker kick JVM GC for shrink anonymous memory? Hm, interesting.. you intent populate to .text segment? if so, you can mamp(MAP_POPULATE), IMHO. Yeah, absolutely. I'll try to set up JVM to my test environment tomorrow. --
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Paweł Staszewski | iproute2 action/policer question |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
