Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

docs: add session and environment variables to README #669

Merged
merged 3 commits into from
Apr 11, 2019

Conversation

erizocosmico
Copy link
Contributor

Closes #668

Depends on #644

@erizocosmico erizocosmico requested a review from a team April 10, 2019 14:01
@ajnavarro
Copy link
Contributor

@erizocosmico you can rebase with master now

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico
Copy link
Contributor Author

Done

README.md Outdated

### Index creation threads

- `PILOSA_INDEX_THREADS`: this environment variable sets the number of threads used in index creation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we say that the default is min(threads, partitions) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the end is just runtime.NumCPU() from the index there's no way to access the number of partitions.

README.md Outdated

### Maximum inner join memory

- `MAX_MEMORY_INNER_JOIN`: this environment variable controls in bytes the maximum number of memory that can be consumed by go-mysql-server before switching to multipass mode in inner joins.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we document default values too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, should we use MB as unit instead of bytes?

README.md Outdated

### Memory joins

- `EXPERIMENTAL_IN_MEMORY_JOIN`: if this environment variable is set it will perform all joins in memory.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this has less sense having MAX_MEMORY_INNER_JOIN. Shall we remove them?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ensures all of them are performed in memory without having to worry about which number to set. I would remove the EXPERIMENTAL_ though

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico
Copy link
Contributor Author

Done

@ajnavarro ajnavarro merged commit 3e54829 into src-d:master Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy