Giter Site home page Giter Site logo

Comments (5)

daanx avatar daanx commented on August 26, 2024

Thanks for the suggestion @joshtriplett -- and apologies for the late reply (replies!); I was accidently not "watching" this repo but will try to catch up :-) If I get to it I will include it as well!

from mimalloc-bench.

AndroidInternal avatar AndroidInternal commented on August 26, 2024

scudo is now the default allocator on Android and Fuchsia.

According to this article,scudo's performance is pretty good, but when look inside the scudo source code, the design of scudo is against many rules of high performance allocator.

Please consider adding the scudo allocator.

from mimalloc-bench.

jvoisin avatar jvoisin commented on August 26, 2024

Is there an easy way to have binaries use scudo via LD_PRELOAD?

from mimalloc-bench.

mjp41 avatar mjp41 commented on August 26, 2024

@jvoisin I have been testing it locally on my machine following @joshtriplett's instructions. The main issue is the only way I know to build it is to checkout the whole LLVM mono-repo. This is quite a lot of download, so I never made a PR. So if you can work out a way to selectively checkout just the compiler-rt/lib/scudo/standalone, then you can get a libscudo.so that can be LD_PRELOADed and last time I tried passed all the tests.

from mimalloc-bench.

jvoisin avatar jvoisin commented on August 26, 2024

Sparse checkouts to the rescue:

git init llvm-project
cd llvm-project
git remote add -f origin https://github.com/llvm/llvm-project
git config core.sparseCheckout true
echo "main/compiler-rt/lib/scudo/standalone" >> .git/info/sparse-checkout

I might™ do this at some point, but feel free to proceed without me.

from mimalloc-bench.

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.