Git Product home page Git Product logo

Comments (5)

jeffstokes72 avatar jeffstokes72 commented on May 3, 2024

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _________
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ./ It’s a trap!
. . . . . . . . . . . . . . . . ,,,--~~~~~~~~--, . . . .\ ./
. . . . . . . . . . . . . . ,-‘ : : : :::: :::: :: : : : : :º ‘-, . . /. . . . . . . . . .
. . . . . . . . . . . . .,-‘ :: : : :::: :::: :::: :::: : : :o : ‘-, . . . . . . . . . .
. . . . . . . . . . . ,-‘ :: ::: :: : : :: :::: :::: :: : : : : :o ‘-, . . . . . . . . .
. . . . . . . . . .,-‘ : :: :: :: :: :: : : : : : , : : :º :::: :::: ::’; . . . . . . . .
. . . . . . . . .,-‘ / / : :: :: :: :: : : :::: :::-, ;; ;; ;; ;; ;; ;; ;\ . . . . . . . .
. . . . . . . . /,-‘,’ :: : : : : : : : : :: :: :: : ‘-, ;; ;; ;; ;; ;; ;;| . . . . . . .
. . . . . . . /,’,-‘ :: :: :: :: :: :: :: : ::
,-~~,
’-, ;; ;; ;; ;; | . . . . . . .
. . . . . _/ :,’ :/ :: :: :: : : :: :: _,-‘/ : ,-‘;’-‘’’’’~-, ;; ;; ;;,’ . . . . . . . .
. . . ,-‘ / : : : : : : ,-‘’’ : : :,--‘’ :|| /,-‘-‘--‘’’,’’’ \ ;; ;,-‘ . . . . . . . .
. . . \ :/,, : : : ,-‘ --,, : : \ :\ ||/ /,-‘-‘x### ::\ \ ;;/ . . . . . . . . . .
. . . . / /---‘’’’ : \ #\ : :\ : : \ :\ | | : (O##º : :/ /-‘’ . . . . . . . . . . .
. . . . /,’
: :\ ‘-#\ : , : :\ :\ \ \ : ‘-,
,-‘,-`-,, . . . . . . . . . . .
. . . . ‘ ) : : : :’’’’--,,--,,,,,,¯ \ \ :: ::--,,
’’-,,’’’¯ :’- :’-, . . . . . . . . .
. . . . .) : : : : : : ,, : ‘’’’~~~~’ \ :: :: :: :’’’’’¯ :: ,-‘ :,/\ . . . . . . . . .
. . . . .,/ /|| | :/ / : : : : : : : ,’-, :: :: :: :: ::,--‘’ :,-‘ \ \ . . . . . . . .
. . . . .\’|\ |/ ‘/ / :: :
--,, : , | )’; :: :: :: :,-‘’ : ,-‘ : : :\ , . . . . . . .
. . . ./¯ :| \ |\ : |/\ :: ::----, :/ :|/ :: :: ,-‘’ : :,-‘ : : : : : : ‘’-,,_ . . . .
. . ..| : : :/ ‘’-(, :: :: :: ‘’’’’,,,,,’’ :: ,-‘’ : :,-‘ : : : : : : : : :,-‘’’\ . . . .
. ,-‘ : : : | : : ‘’) : : :¯’’’’
-,: : ,--‘’’ : :,-‘’ : : : : : : : : : ,-‘ :¯’’’’’-,_ .
./ : : : : :’-, :: | :: :: :: _,,-‘’’’¯ : ,--‘’ : : : : : : : : : : : / : : : : : : :’’-,
/ : : : : : -, :¯’’’’’’’’’’’¯ : : _,,-~’’ : : : : : : : : : : : : : :| : : : : : : : : :
: : : : : : :¯’’~~~~~~’’’ : : : : : : : : : : : : : : : : : : | : : : : : : : : :

Not really. I see a bug I think in buffering.

from uiforetw.

randomascii avatar randomascii commented on May 3, 2024

By creating an issue, like this one, only with more details.

from uiforetw.

jeffstokes72 avatar jeffstokes72 commented on May 3, 2024

Ah cool, thanks Bruce, how you doing?

So, in large memory systems, say, 1-4TB, ETW tracing by default will consume a high amount of buffer memory in NPP (I believe). If you note in WPRUI there is a large memory profile to run. I didn't see that as an option here in your UI. Is this done automatically (I don't have a high RAM system to test with right now sadly) or could you add it maybe? I looked around (not a coder) and didn't see this in your code as a condition, but i'm open to having missed it and this being a non-issue.

Anyway first time caller, long time listener on your blog.

Best,
Jeff

from uiforetw.

randomascii avatar randomascii commented on May 3, 2024

I don't think UIforETW hits this problem. wpr and wprui both default to using a percentage of memory for buffers, with no cap, but UIforETW does not do that. It does boost the buffer sizes used on large-memory machines, but it doesn't boost them arbitrarily high. Therefore the large-memory profile fix needed for wprui doesn't apply because the problem doesn't exist.

In the most extreme case UIforETW uses BufferCountBoost(1000) buffers. Each buffer is 1 MB and on high-memory machines BufferCount will double the requested number of buffers, so this gives 2 GB of buffers. This is pretty huge, but it only happens when doing heap tracing, and is only about 0.1% of the memory on a 1-4 TB machine.

I keep meaning to add some user control over this but the values are in the right ballpark so there has been little incentive.

from uiforetw.

jeffstokes72 avatar jeffstokes72 commented on May 3, 2024

Ok cool. this explains it well thanks. And yeah, I agree, the values you pick seem reasonable. Cool sorry to bug ya then sir :) Code on!

from uiforetw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.