# Increased speed of Bootstrap

**URL:** <https://discourse.pumas.ai/t/increased-speed-of-bootstrap/798>\
**Category:** bootstrap\
**Created:** [December 1, 2022, 3:15am UTC](https://discourse.pumas.ai/t/increased-speed-of-bootstrap/798 "2022-12-01T03:15:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![achamzas](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/achamzas/32/339_2.png) [@achamzas](https://discourse.pumas.ai/u/achamzas)\
**Post date:** [December 1, 2022, 3:15am UTC](https://discourse.pumas.ai/t/increased-speed-of-bootstrap/798/1 "2022-12-01T03:15:48Z")

</div>

Hello everyone,

My bootstrap was still at 1% after 24 hours, giving me an ETA of 37 days. My bootstrap sample size is 200, and the population size is 120. I have already used a small sample size and a small number of patients to test the bootstrap and it works.

It takes a long time to fit the model (Estimation Time 2119.92), so I expect it to take a long time, but is there a way to speed it up?

Thanks in advance,  
Athanasios

---

<div class="post-metadata">

**Author:** ![andreasnoack](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/andreasnoack/32/22_2.png) [@andreasnoack](https://discourse.pumas.ai/u/andreasnoack)\
**Post date:** [December 1, 2022, 8:39am UTC](https://discourse.pumas.ai/t/increased-speed-of-bootstrap/798/2 "2022-12-01T08:39:05Z")

</div>

There can be significant variation between the bootstrap runs so it might be that some of them are quite a bit slower than the original run. Are any warnings printed? The easiest way to speed up a bootstrap is to run it on multiple nodes as a batch job, see [VSCode extension · JuliaHub](https://help.juliahub.com/juliahub/stable/tutorials/vscode_extension/). Then you can run it on many nodes. You’d have to use `EnsembleDistributed` in the bootstrap settings as well, see [Pumas Docstrings · Pumas](https://docs.pumas.ai/stable/pumas_docstrings/#Pumas.Bootstrap-Tuple%7B%7D).

---

<div class="post-metadata">

**Author:** ![achamzas](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/achamzas/32/339_2.png) [@achamzas](https://discourse.pumas.ai/u/achamzas)\
**Post date:** [December 1, 2022, 2:42pm UTC](https://discourse.pumas.ai/t/increased-speed-of-bootstrap/798/3 "2022-12-01T14:42:37Z")

</div>

I did not get any warnings during the run. I will try these solutions and let you know, thanks
