Live data from Hacker News

Ask HN: I have 24 core server with 1TB of DDR4 RAM, what should I run?

news.ycombinator.com

1–10 of 40 posts

Ask HN: I have 24 core server with 1TB of DDR4 RAM, what should I run?

#1
First time I'm doing colocation and as experiment I picked up a 1TB DDR4 RAM server with 24 cores (around 2.2ghz each)

What should I do now? What stuff should I run?

I have a hello world Flask app running but obviously its not enough to use the full potential.

I'm thinking of running KVM and selling a few VDS to friends or companies.

Also thought of running thousands of Selenium browser tests but I do this maybe once a year, not enough to fully utilize the server 24/7

Help! I might have gone overboard with server capacity, I will never have to pay for AWS again, I can literally run every single project, APIs, database I want and still have space left over.

Re: Ask HN: I have 24 core server with 1TB of DDR4 RAM, what should I run?

#3
Honestly, that is a crazy server to put in a datacenter just for fun lol, and i have no idea what you could do with it, selling VDS space sounds like a good idea, especially if you can find someone who wants heaps of memory. Though I'm curious if you dont mind answering a few of my questions: - Where did you colocate (ie what city), do you live there? - How much was it to colocate (you can give ballpark if you dont want to give the full amount) / do you pay monthly or something, did you pay per U or is it something else - What costs do you pay (eg electricity or bandwidth that you use) Thanks, and good luck xd

Re: Ask HN: I have 24 core server with 1TB of DDR4 RAM, what should I run?

#8
Simulations of maximum concurrency.

With hardware like that I would research a couple of things:

* Maximum number of servers, HTTP/WS, I could run simultaneously. I am working on a server application to do this right now. Each server should be 1, 2, or 4 ports. You could run HTTP over WS which allows both protocols over a single port. If you want to allow both TLS and insecure connections it would still be two 2 ports, or 4 ports if you are isolating HTTP and WS from each other.

* Maximum number of simultaneous sockets. I would test for the maximum number of open sockets connected to a single server instance and the maximum average number of sockets open to the maximum number of servers from the prior bullet point.

* Once you have confidence with both prior points I would then research the maximum amount of cross-talk. If your multiple servers can talk between each other then your servers almost achieve SMP. They could talk to each other via sockets like they are talking to everything else, but IPC communication would be even faster.

* Once you have all that then you have sufficient infrastructure in place to investigate more precise performance concerns. For example I have found that in my own personal implementation I could transmit messages via WebSockets almost 11x faster than I could receive the messages, but it could be that my own implementation is poorly executed. I also found that under the most ideal conditions my, likely poor, WebSocket implementation was still at least 8x faster than HTTP can go to over 80x and beyond performance after accounting for scale of high message frequency and socket concurrency.

* Once you have your performance bottlenecks identified you can then research performance bottlenecks on data transfer from a large data source of high frequency access. Then with that identified you can train AI on it for concurrency simulations that self-learns.

In the end you can sell your research. Consider that data centers require their own power plants to operate. While the hardware in those data centers is likely assembled in an efficient manner the software servers running on that hardware is often not efficient, and that costs millions of dollars a month just in electricity.

Re: Ask HN: I have 24 core server with 1TB of DDR4 RAM, what should I run?

#10
For research, you can do things like PSO or Genetic algorithm optimizations. Those benefit more from CPU than GPU cause there is not so much matrix math going on, especially for complex fitness functions that require sequences.

You could do this with the small Llama model, where the fitness function is basically the ability generate correct code and self detect errors, and adjust the weights based on the optimization algorithm.

Post reply on HN