From: Jan S. <jst...@re...> - 2012-09-20 12:15:30
|
----- Original Message ----- > From: ch...@su... > To: "Jan Stancek" <jst...@re...> > Cc: ltp...@li... > Sent: Tuesday, 16 February, 2010 3:27:19 AM > Subject: Re: [LTP] [PATCH] proc01: add option to limit max read bytes > > Hi! > > single proc file. When this limit is reached testcase > > will continue with next file. > > > > Reason for this new option is to allow running this testcase > > as sanity test, that doesn't need go through full content of > > files such as "pagemap" (which can take hours). > > Wouldn't adding -m to the proc01 to runtest/fs make sense too? Seems like a good idea. Question is, what should we choose as good default for maximum. I'm running it now with: proc01 proc01 -m 128 I chose 128MB as rule of thumb, so I can hit some real pages and holes (in pagemap). 128MB equals to 4194304 pages (32bits per entry). If page_size is 4kB, this covers first 16G of address space, so it's likely you hit all kinds of pagemap entries. Regards, Jan > > (so we doesn't spend too much time in proc01 in defalt runs) > > -- > Cyril Hrubis > ch...@su... > |