All of lore.kernel.org
 help / color / mirror / Atom feed
* memory used by btt
@ 2007-03-26 15:23 Ming Zhang
  2007-03-26 16:17 ` Alan D. Brunelle
  2007-03-27  1:20 ` Ming Zhang
  0 siblings, 2 replies; 3+ messages in thread
From: Ming Zhang @ 2007-03-26 15:23 UTC (permalink / raw)
  To: linux-btrace

Hi 

I am now using btt to analyze a 700MB trace data and it always run oom
in my 2GB ram laptop. it also eat 2GB swap as well. Any idea why btt
need so many memory?

ps, why we always need double in the code, can float fit the bill as
well?

Ming

-- 
   Ming Zhang <mzhang AT ibrix.com>
   www.ibrix.com       
   978-670-7400 x 145
   http://blackmagic02881.wordpress.com/

   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memory used by btt
  2007-03-26 15:23 memory used by btt Ming Zhang
@ 2007-03-26 16:17 ` Alan D. Brunelle
  2007-03-27  1:20 ` Ming Zhang
  1 sibling, 0 replies; 3+ messages in thread
From: Alan D. Brunelle @ 2007-03-26 16:17 UTC (permalink / raw)
  To: linux-btrace

Ming Zhang wrote:
> Hi 
>
> I am now using btt to analyze a 700MB trace data and it always run oom
> in my 2GB ram laptop. it also eat 2GB swap as well. Any idea why btt
> need so many memory?
>   

Well, BTT builds trees based upon outstanding IO traces. That could 
indicate that BTT is having a hard time dealing with your data - I find 
that sometimes the kernel does weird things, causing strange IO trees 
being built that BTT can't put back together. I've got some multi-GB 
sized binary files that I've handled, let me see what the memory 
footprint is for those...


> ps, why we always need double in the code, can float fit the bill as
> well?
>   

Probably could, but I'm not too sure about some of the conversions done 
with LBAs. I can look into that if need be.

Alan

> Ming
>
>   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memory used by btt
  2007-03-26 15:23 memory used by btt Ming Zhang
  2007-03-26 16:17 ` Alan D. Brunelle
@ 2007-03-27  1:20 ` Ming Zhang
  1 sibling, 0 replies; 3+ messages in thread
From: Ming Zhang @ 2007-03-27  1:20 UTC (permalink / raw)
  To: linux-btrace

On Mon, 2007-03-26 at 12:17 -0400, Alan D. Brunelle wrote:
> Ming Zhang wrote:
> > Hi 
> >
> > I am now using btt to analyze a 700MB trace data and it always run oom
> > in my 2GB ram laptop. it also eat 2GB swap as well. Any idea why btt
> > need so many memory?
> >   
> 
> Well, BTT builds trees based upon outstanding IO traces. That could 
> indicate that BTT is having a hard time dealing with your data - I find 
> that sometimes the kernel does weird things, causing strange IO trees 
> being built that BTT can't put back together. I've got some multi-GB 
> sized binary files that I've handled, let me see what the memory 
> footprint is for those...
> 
> 
> > ps, why we always need double in the code, can float fit the bill as
> > well?
> >   
> 
> Probably could, but I'm not too sure about some of the conversions done 
> with LBAs. I can look into that if need be.

i did a quick check, changing to float will not have much help on that
footprint. double is not used in some key data structures.

> 
> Alan
> 
> > Ming
> >
> >   
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-27  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 15:23 memory used by btt Ming Zhang
2007-03-26 16:17 ` Alan D. Brunelle
2007-03-27  1:20 ` Ming Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.