Skip to content

Simulating individual blocks is prohibitively slow #117

Description

@A-J-F-Mackintosh

Hi,

I have found that simulating windows of a single block is very slow. The below command gets through 100 / 200_000_000 simulations in one hour.

gimble simulate -o sims -s DIV -p 50 -e 44 -a 1 -b 1 -r 100 -w 2_000_000 -n 1 -l 100 -u 2.9e-9 -k 10,10,10,10 -m DIV -A 100_000 -B 100_000 -C 100_000 -T 200_000 --rec_rate 0.6

If I instead simulate the same amount of blocks in only 10 windows per replicate (each with 200_000 blocks), then the simulation finishes in less than two hours.

gimble simulate -o sims -s DIV -p 50 -e 44 -a 1 -b 1 -r 100 -w 10 -n 200_000 -l 100 -u 2.9e-9 -k 10,10,10,10 -m DIV -A 100_000 -B 100_000 -C 100_000 -T 200_000 --rec_rate 0.6

I am using 50 parallel processes in the above sims, but it is just as slow if I use only one process.

Cheers,

Alex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions