ã«ã¼ãã«å é¨ã®ãã£ãã·ã¥ãéæ¾ããã«ã¯ $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' ã¨ãã¾ãï¼ ããã«ãã ãã³ããã¼ã¯ã§ããæ£ç¢ºãªå¤ãè¨æ¸¬ã§ããããã«ãªã ã«ã¼ãã«ã®ç©ºãã¡ã¢ãªãå¢ãã*1 ãã¨ãæå¾ ã§ãã¾ãï¼ ãã³ããã¼ã¯ã®å ´åã§èª¬æããã¨ï¼ãã¨ãã° find ã³ãã³ãã®å¦çæéãï¼åé£ç¶ãã¦è¨æ¸¬ãã㨠$ time find /usr > /dev/null real 0m3.818s user 0m0.040s sys 0m0.207s $ time find /usr > /dev/null real 0m0.030s user 0m0.003s sys 0m0.023s ï¼åç®ã®findã³ãã³ãã¯ä¸ç¬ã§å¦çãå®äºãã¾ãï¼ããã¯åãã¡ã¤ã«ã®æ å ±(å ·ä½çã«ã¯ inode 㨠dentry)ãã¡ã¢ãªä¸ã«ãã£ãã·ã¥ãããããã§ãï¼ä¸
{{#tags}}- {{label}}
{{/tags}}