ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Ansible with 500 routers – NetDevOps tools performance testing 9 | stream 2020/01/05

Автор: dmfigol live

Загружено: 2020-01-06

Просмотров: 1938

Описание: The recording of the network programmability stream which occurred on 2020/01/05 - part of 2-week stream marathon which started on 2019-12-23
During this marathon I was streaming almost daily.
The project I was working on was performance testing of different network automation tools: Ansible / Python + Nornir / Python + asyncio / Golang. For that I built a huge lab with 500 routers: https://s3.us-east-2.amazonaws.com/me.... This will be later summarized in a blog article.

On this stream I continued testing Ansible on my GNS3 lab with 500 routers. We tested:
different strategies (linear and free)
various number of forks
different tasks (gathering commands + writing to a file / doing config changes)
different inventories (50 routers, 500 routers vs 500 routers + a lot of host_vars)

Some observations:
Ansible consumes A LOT of memory and CPU resources at scale
strategy free is faster than linear, but consumes more memory
bigger inventory (not only number of nodes, but also amount of variables) leads to significantly bigger memory consumption
registering variables leads to significantly more memory consumption
increasing number of forks leads to significantly more memory and CPU consumption, also many child zombie processes if you don't have enough resources

Also, at the very end, while we were doing one of the tests, I quickly wrote an asyncio script which was mimicking the first playbook and it ran ~6-7 times faster than the best ansible results with much smaller memory footprint

Timecode:
0:00 – Introduction
1:22 – The state of the project: what have been done already and what still needs to be done
8:56 – My thoughts/experience with Ansible on the previous stream
18:00 – Testing commands gathering playbook with various Ansible options
1:18:25 – Writing a new playbook to do simple configuration changes
2:04:35 – Writing a script to generate random host_vars for existing hosts to make the inventory bigger
2:35:00 – Testing an Ansible playbook which does configuration with different settings
3:03:10 – Testing both playbooks on the big inventory (500 routers + random host_vars)
3:12:10 – While waiting for results, writing an Python asyncio script which is mimicking the first playbook
3:26:10 – Testing, troubleshooting and optimizing my Python asyncio script
3:45:00 – Back to testing Ansible on big inventory
3:59:25 – Conclusions, summary and wrap-up of the stream and the whole streaming marathon

Please note that this content is stream-first and it is slow-paced by design. I recommend increasing playback speed in the player settings.
Don't miss my upcoming streams at   / dmfigol  

The code is on my GitHub: https://github.com/dmfigol/network-pr...
Twitter:   / dmfigol  
Blog: https://dmfigol.me

Background music (royalty-free):
https://www.pretzel.rocks/

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Ansible with 500 routers – NetDevOps tools performance testing 9 | stream 2020/01/05

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Nornir with 500 routers – NetDevOps tools performance testing 10 | stream 2020/01/12

Nornir with 500 routers – NetDevOps tools performance testing 10 | stream 2020/01/12

Диктатор готовит второй фронт? / Военные сборы или мобилизация?

Диктатор готовит второй фронт? / Военные сборы или мобилизация?

Telegram блокируют, YouTube пропал из DNS, Seedance 2.0 убивает Голливуд | 2Weelky 44

Telegram блокируют, YouTube пропал из DNS, Seedance 2.0 убивает Голливуд | 2Weelky 44

Путин готовит новую мобилизацию? Военный обзор Юрия Фёдорова

Путин готовит новую мобилизацию? Военный обзор Юрия Фёдорова

Музыка для работы - Deep Focus Mix для программирования, кодирования

Музыка для работы - Deep Focus Mix для программирования, кодирования

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

Как работает Search Engine под капотом: ранжирование и релевантность

Как работает Search Engine под капотом: ранжирование и релевантность

Designing a lab for netdevops tools performance testing part 1 [stream marathon day 1]

Designing a lab for netdevops tools performance testing part 1 [stream marathon day 1]

Великая отставка! Что случилось с рынком труда и как зумеры его изменили?

Великая отставка! Что случилось с рынком труда и как зумеры его изменили?

НА ЧТО МЫ МОЖЕМ НАДЕЯТЬСЯ?

НА ЧТО МЫ МОЖЕМ НАДЕЯТЬСЯ?

IP KVM на 4 хоста из почти любого одноплатного компьютера с установленным PIKVM.

IP KVM на 4 хоста из почти любого одноплатного компьютера с установленным PIKVM.

Андрей Захаров о блокировке Telegram: почему Z-блогеры против и как власти договариваются с Дуровым

Андрей Захаров о блокировке Telegram: почему Z-блогеры против и как власти договариваются с Дуровым

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

МАКСИМАЛЬНЫЙ УРОВЕНЬ ГОТОВНОСТИ. Источники: Удар по Ирану может быть нанесён в ближайшее время

МАКСИМАЛЬНЫЙ УРОВЕНЬ ГОТОВНОСТИ. Источники: Удар по Ирану может быть нанесён в ближайшее время

Подробный обзор ядра Linux 7.0: что на самом деле означает повышение версии.

Подробный обзор ядра Linux 7.0: что на самом деле означает повышение версии.

Лучшая Музыка 2026🏖️Зарубежные песни Хиты🏖️Популярные Песни Слушать Бесплатно 2026 #40

Лучшая Музыка 2026🏖️Зарубежные песни Хиты🏖️Популярные Песни Слушать Бесплатно 2026 #40

ЕОПТ 055 | СВОЙ СЕРВЕР ЗА 5 МИНУТ

ЕОПТ 055 | СВОЙ СЕРВЕР ЗА 5 МИНУТ

ВОССТАНОВЛЕНИЕ НЕРВНОЙ СИСТЕМЫ 🌸 Нежная музыка, успокаивает нервную систему и радует душу #31

ВОССТАНОВЛЕНИЕ НЕРВНОЙ СИСТЕМЫ 🌸 Нежная музыка, успокаивает нервную систему и радует душу #31

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]