Hi! This questions about Inactive queue and Swap layer in VM management system at FreeBSD. For test, i running dd (for put ufs cache to Inactive), and i get this:
1132580 wire 896796 act 5583964 inact 281852 cache 112252 free 836960 buf in swap: 20M It is good. Lets start run programm like: typedef char * pchar; pchar a[1024*1024*4]; for(size_t i = 0; i < 1024*1024*2; i++) { a[i] = (pchar)malloc(1024); if(a[i]) *(a[i]) = 'F'; } Get this: 1156420 wire 3070196 act 3465316 inact 206352 cache 109160 free 836960 buf in swap: 20M After i call free() pages put to free. But, why condition is not satisfied from this page: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/freeing-pages.html? My durty pages don't written to their backing store before being reusable. I don't understeand this:( And... How can i known what memory page in Inactive owns UFS cache? Thanks -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vag...@bsdway.ru email: put...@playform.ru email: root.vag...@gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"