Giter VIP home page Giter VIP logo

Comments (8)

swalkinshaw avatar swalkinshaw commented on July 23, 2024

Yeah, I thought about setting the cpus before as well so a PR for this is welcome.

from trellis.

austinpray avatar austinpray commented on July 23, 2024

give VM 1/4 system memory & access to all cpu cores on the host

A bit conflicted about this. Especially if you are working with a team. I have a beefy computer:

screenshot 2014-09-28 15 15 38

So my box is going to be running 8 cores and 4gb of memory. I feel I would be developing and a completely different environment with completely different constraints than someone with a macbook air or some other less beefy laptop.

Then again production is cached anyway. What do you guys think?

from trellis.

swalkinshaw avatar swalkinshaw commented on July 23, 2024

Using all the cores you have is fairly standard. Although we may want to cap that 1/4 of memory at like 2GB. I do agree it's a little crazy to use 4GB of ram for a dev VM.

from trellis.

nathanielks avatar nathanielks commented on July 23, 2024

If anything, that section could be commented out or something. At the very least, NFS will improve performance dramatically. Or people can change the values to something more appropriate per project. Or perhaps have default config files they could import? I have a 13" mbp, so 1/4 mem and all cpus is a base DO box. I know while I'm cranking things out, I don't like waiting on my development machine. I'd prefer to have faster results and then tweak later. Thoughts?—
Sent from Mailbox

On Sun, Sep 28, 2014 at 3:23 PM, Austin Pray [email protected]
wrote:

give VM 1/4 system memory & access to all cpu cores on the host
A bit conflicted about this. Especially if you are working with a team. I have a beefy computer:
screenshot 2014-09-28 15 15 38
So my box is going to be running 8 cores and 4gb of memory. I feel I would be developing and a completely different environment with completely different constraints than someone with a macbook air or some other less beefy laptop.

Then again production is cached anyway. What do you guys think?

Reply to this email directly or view it on GitHub:
#62 (comment)

from trellis.

austinpray avatar austinpray commented on July 23, 2024

Capping at 2GB or even 1GB is reasonable. My sites barely reach 1GB of usage. Why not just set a cap at 1GB without doing the platform specific math? That is a fairly beefy linode/DO box and more memory isn't going to make a wordpress site only using 512mb faster. The NFS and CPU will be nice performance enhancers.

AustinMacbookPro:bedrock-ansible austinpray$ vagrant ssh -c 'cat /proc/meminfo'
MemTotal:         501776 kB
MemFree:           56992 kB
...

from trellis.

austinpray avatar austinpray commented on July 23, 2024

Also using 4GB of ram for a dev vm for me is a no-go because I usually have other VMs running such as modern.ie and friends that take their fair share.

from trellis.

nathanielks avatar nathanielks commented on July 23, 2024

I can get behind 1gb || 2gb cap. @swalkinshaw?

from trellis.

swalkinshaw avatar swalkinshaw commented on July 23, 2024

See #66

Decided to just hardcode it since it's way simpler. Anyone can customize now but at least the setting is there to see.

from trellis.

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.