pages 16k
malloc出來的是clean的
寫過之后變成dirty
memory mapped files
readonly的file是clean的
dirty--memory written by my app---ie,malloc, array,string,decoded image buffers
compressed---ios7---訪問前 會壓縮它
clean--data that can be paged out of memory---ie, image.jpg blob.data training.model framework的 const sec
可以被置換出去的 看上去也是只讀的
memory可以省cpu時間
比如cache 比如多線程的context
gpu也可以用memory省時間
如果要省mem就要反過來用了
trade-offs
footprint指 dirty+compress 這部分mem