Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase US rendering capacity #637

Closed
pnorman opened this issue Jun 13, 2022 · 11 comments
Closed

Increase US rendering capacity #637

pnorman opened this issue Jun 13, 2022 · 11 comments
Labels
service:tiles The raster map on tile.openstreetmap.org

Comments

@pnorman
Copy link
Collaborator

pnorman commented Jun 13, 2022

pyrene, the one US rendering server, no longer has the capacity to keep up with its demand. (#625 (comment), and other reports) I was able to relieve some of the pressure by sending significant east coast US traffic to Europe, but sending IAD, EWR, LGA, YYZ, and MIA across the Atlantic is not ideal.

I see three options

  1. Get some donated capacity, ideally on the US east coast. If someone reading this is able to help or can point us at someone to help, please email operations@osmfoundation.org. Anywhere in the US or Canada would work.
  2. Buy a new server and send it to OSUOSL
  3. Buy a new server and find a location on the East Coast to host

My preferred order is 1, 2, 3. I would rather not add another location we have hardware in for just one server.

@Firefishy Firefishy added the service:tiles The raster map on tile.openstreetmap.org label Jun 13, 2022
@anon8675309

This comment was marked as off-topic.

@tomhughes

This comment was marked as off-topic.

@akadouri
Copy link

Do you have rough guesses for what 1 and 2 would cost?

@pnorman
Copy link
Collaborator Author

pnorman commented Jun 14, 2022

1 would have no costs for the OSMF. 2 and 3 cost about 7k USD in the past when we got new servers in Europe, but supply shortages will have increased costs since then.

@maswan
Copy link

maswan commented Jun 14, 2022

FYI: Our (ACC, nidhogg) network provider tells us that for them north american capacity is cheap and plentiful, so the only downside for shifting the load to the renderer we host is the increased latency (and risk running out of nidhogg rendering capacity).

@ke4qqq
Copy link

ke4qqq commented Jun 15, 2022

AWS would be interested in helping provide capacity. Feel free to email djnalley@amazon.com and cashsame@amazon.com and we'll start a conversation.

@Firefishy
Copy link
Member

@ke4qqq Thank you. I will reach out to you via email shortly.

@pnorman
Copy link
Collaborator Author

pnorman commented Jul 28, 2022

Current plans are to set up a rendering server on AWS (#682) but to also replace pyrene, which has a CPU that is 9 years old, spinning hard drives, and only 2.8TB in RAID5. We can use this issue to track replacing Pyrene.

Pyrene is owned by OSM US.

  • Confirm with OSUOSL that we can have another machine hosted there
  • Reach out to OSM US to see if they're interested in replacing the machine, or if the OSMF would be getting an additional machine
  • Figure out specs. My inclination is we want >4TB of storage over the lifetime of the machine

@mcawley
Copy link

mcawley commented Jul 29, 2022

In conversations for locating a server in Arizona and also getting University of Arizona support to price out what we need as far as funding. Will connect via email.

@pnorman
Copy link
Collaborator Author

pnorman commented Aug 1, 2022

Current DB size is 1.1TiB, est. size in 5 years is 2TB. The tile store is tougher to measure, because it will consume as much space as its given, and more space is always good for cache hit ratios. We run an daily cleanup job that, if >88% of space is used, removes files not accessed in the last 2 days until 80% of disk space is used.

pyrene, with about 1.3TiB of tile store is having to do automated sweeps of old tiles multiple times per day, too often. Nidhogg and Culebre, splitting the metatiles between them, have about 2TiB of tile store each, and take 2-4 days to get from 80% to 88%.

Given the above, I would want >2TB of tile storage for a US server in 5 years, so a total >4TB, which means a 7.68TB disk.

@pnorman pnorman added this to the 2022 capital spending milestone Aug 2, 2022
@pnorman
Copy link
Collaborator Author

pnorman commented Sep 12, 2023

piasa is now running, so we have enough capacity, and it should remain enough once pyrene is shut off.

@pnorman pnorman closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service:tiles The raster map on tile.openstreetmap.org
Projects
None yet
Development

No branches or pull requests

8 participants