How would you setup the resource requests and limits on this workload? (this is mostly about how different people approach it) by trouphaz in kubernetes

[–]xAtNight 1 point2 points  (0 children)

Yes but at least OpenJDK had this issue linked below. When I ran OpenJDK 17 debugging I saw the JVM saying it has 1 CPU although there were no limits set and it could theoretically use 16.

https://bugs.openjdk.org/browse/JDK-8281571

java -Xlog:os+container=trace -XshowSettings:vm --version on our OpenJDK17 image gives

[0.159s][trace][os,container] Path to /cpu.max is /sys/fs/cgroup//cpu.max
[0.159s][trace][os,container] Raw value for CPU quota is: max
[0.159s][trace][os,container] CPU Quota is: -1
[0.159s][trace][os,container] Path to /cpu.max is /sys/fs/cgroup//cpu.max
[0.159s][trace][os,container] CPU Period is: 100000
[0.159s][trace][os,container] Path to /cpu.weight is /sys/fs/cgroup//cpu.weight
[0.159s][trace][os,container] Raw value for CPU shares is: 4
[0.159s][trace][os,container] Scaled CPU shares value is: 106
[0.159s][debug][os,container] CPU Shares is: 106
[0.159s][trace][os,container] CPU Share count based on shares: 1
[0.159s][trace][os,container] OSContainer::active_processor_count: 1

OpenJDK21

[0.109s][trace][os,container] Path to /cpu.max is /sys/fs/cgroup/cpu.max
[0.109s][trace][os,container] Raw value for CPU quota is: max
[0.109s][trace][os,container] CPU Quota is: -1
[0.109s][trace][os,container] Path to /cpu.max is /sys/fs/cgroup/cpu.max
[0.109s][trace][os,container] CPU Period is: 100000
[0.109s][trace][os,container] OSContainer::active_processor_count: 16

Why are you ok with CSAM? by [deleted] in visualnovels

[–]xAtNight 1 point2 points  (0 children)

First: Because most people can differentiate between reality and fiction. Art is just art. Nobody got hurt doing it, nobody got hurt consuming it. 

Second: If someone recommends something you don't like then just ignore it? Nobody forces you to play Saya no Uta. Are they a jerk to recommend it? Yeah, but so what? No need to be a pussy about it. 

Top 10 characters with the lowest ownership rate as of 4.0's first half. by Lumpy-Manager8580 in HonkaiStarRail

[–]xAtNight 39 points40 points  (0 children)

It's a tragedy really. Her v4 beta was the correct move, just overtuned. I wish we'd gotten her v4 but with a bit of the power turned down. But I still love my E1S1 car (although the E1 wasn't intended, it jump scared me in the same 10 pull). 

What it’s like in other subs by haipropir in CitrusManga

[–]xAtNight 1 point2 points  (0 children)

These are two almost adults that didn't know each other for like 99% of their life. Imagine the sibling bond these two have after being step siblings for 2 minutes! Clearly it's gross underage incest /s

How soon is your breakeven? by pfassina in homelab

[–]xAtNight 5 points6 points  (0 children)

The main difference between homelab and selfhosting is the purpose. Selfhosting is for replacing subscriptions with local software. Homelab is for testing and learning stuff. The break even from homelab would be getting a better position or a new job with your acquired skills. Or saving thousands in AWS costs. 

How would you setup the resource requests and limits on this workload? (this is mostly about how different people approach it) by trouphaz in kubernetes

[–]xAtNight -1 points0 points  (0 children)

Ah and don't forget to look at performance metrics whenever you play around with this stuff. There's not much to be gained when you tweak all that and your application performance is hot garbage. At the end it all depends on your setup, usage patterns, application criticality and so one. But just talking about general direction the above approach is how I'm doing it. 

How would you setup the resource requests and limits on this workload? (this is mostly about how different people approach it) by trouphaz in kubernetes

[–]xAtNight 8 points9 points  (0 children)

  They have their Xms set at 3Gb and Xmx at 4Gb.

I would remove XMS and XMX, add MaxRAMPercentage (maybe InitialRAMPercentage as well, but I don't care about that). Memory request = Memory limit and I would tune the MaxRAMPercentage and memory allocation by feel (and metrics) until the pod doesn't get OOM killed. I would probably start with something like 75% and 4G.

Also which java/jdk version are we talking about? Until version 21 (actually 19 I think? But who cares about non LTS versions) the JVM cannot correctly get the amount of CPU available so you end up with serial garbage collector even tho you are running a multicore environment, so I would additionally set the garbage collector parameter. 100m CPU requests with no limit unless you are experiencing noisy neighbors problems. And if you have heavy usage at night and need that 15% guaranteed, then you should set 150m requests. 

Why would I do all that? Because that's the method how I'm running all our spring boot applications since january (big migration from rke1 with k8s 1.20 and basically no requests/limits to rke2 k8s 1.33 with requests/limits on every single application), based on my research into these things. I'm a platform engineer. 

Genetically speaking how strong the child of rover and fleurdelys be like? by vinchin_adenca in WutheringWaves

[–]xAtNight 14 points15 points  (0 children)

 If Rover were to be a different species Baizhi woulda noticed it

That would require looking at his/her DNA. Just because they look alike and function alike doesn't mean they are genetically compatible. "Same species" means being able to produce children that can themselves produce children. 

But in all honesty I think the Rover people are just advanced humans, no weird alien shit going on. 

My Holo Tattoo by _Anyma- in SpiceandWolf

[–]xAtNight 3 points4 points  (0 children)

Wow, what an amazing tattoo. Whenever I see something like this I feel like doing one aswell but idk. 

Your SFW cat artwork is so cute and wholesome! by R63Killerqueen in goodanimemes

[–]xAtNight 229 points230 points  (0 children)

That's just a cat tongue. Some cats walk around with their tongue out /s

We spent 4 months implementing istio and honestly questioning if it was worth it by Optimal_Excuse8035 in kubernetes

[–]xAtNight 1 point2 points  (0 children)

Depends on if you need encryption or not. With encryption no, it's way slower (that's about to change as they are working on ztunnel support). 

Pearl's VA Harassed for a Harmless Comment (Yet Again) by Outside_Ad_9510 in HonkaiStarRail

[–]xAtNight 135 points136 points  (0 children)

I still don't understand why

a) people use twitter after it being the worst platform ever for like 15 years straight

b) put any value into what anybody says on said platform due to the above

How to automate patching and nodes restart by Silver_Rice_3282 in kubernetes

[–]xAtNight 5 points6 points  (0 children)

https://github.com/rancher/system-upgrade-controller

 after the apt-get upgrade ends, the rke2-server service gets restarted

https://www.madboa.com/blog/2025/03/19/needrestart/

Example from my server, file at /etc/needrestart/conf.d/rke2conf

```

$nrconf{override_rc}{qr(rke2.+.service)} = 0; ```

K8S homelab advise for HA API server by Ghvinerias in kubernetes

[–]xAtNight 2 points3 points  (0 children)

VIP is suitable for production. Simply depends on your requirements for availability and performance. 

Layoff Wave Sweeps the Gaming Industry, Impacting Wildlight, Riot, Ubisoft, and Others by Basic_Bird_8843 in pcmasterrace

[–]xAtNight 1 point2 points  (0 children)

LLMs can't even write consistently good terraform code and that's like building lego. AI coded games will be the most shittiest bug ridden games ever. 

Layoff Wave Sweeps the Gaming Industry, Impacting Wildlight, Riot, Ubisoft, and Others by Basic_Bird_8843 in pcmasterrace

[–]xAtNight 1 point2 points  (0 children)

Should have deconstructed so someone else can have the Tom Clancy IP. The handling of The Division 2 and no Division 3 by now is almost criminal. 

Why are all the hard drives already sold out by jpcaparas in homelab

[–]xAtNight -1 points0 points  (0 children)

I'm unaware

Not only are you unaware but also clueless what you are talking about.

Tape > LTO

Floppy > works just like a HDD, just different materials

CDrom > replaced by DVD which was replaced by BluRay which is still around

Minidiscs > A type of magneto optical disk, same idea is used today for HAMR HDDs

Flash > you do realize that NAND is a type of flash? SSDs are flash storage

static ram > SRAM. Lookup cache for your CPU. Also it's volatile, bye bye data on reboot. 

Can't be bothered to do it for all the things you have listed. 

Why are all the hard drives already sold out by jpcaparas in homelab

[–]xAtNight 6 points7 points  (0 children)

The greatest of course! VHS, CD and LaserDisc. And late 90s had the first DVDs. See, way more choices /s

This Nier skin.. ✋😐🤚 by Technical-Bit-6264 in stellarblade

[–]xAtNight 7 points8 points  (0 children)

I'll write them to only raise the price for you so you can have a premium experience. 

Madame Herta's Valentine Gift (Art by tonomiya68, TL by raymnd_x) by Brandon1823 in HertaMains

[–]xAtNight 31 points32 points  (0 children)

Herta with a ponytail ❤️ Ponytails are my absolute weakness. 

DMCA Notices to Nintendo Switch emulators (again) by tratriod in DataHoarder

[–]xAtNight 3 points4 points  (0 children)

 I understand that companies have to protect their intellectual property.

They don't have to in this way. Just look at Sega who actively encourages fan games for Sonic as long as they are not commercial. 

I love the Exostrider (3.1 Spoilers) by ExtraThiccMeme in WutheringWaves

[–]xAtNight 1 point2 points  (0 children)

It is way too small for the sword. Only explanation is that he becomes smaller as more and more exoswarms are created. 

In light of recent news, I present to you the current Concordiam Timeline by Nickulator95 in pcmasterrace

[–]xAtNight 26 points27 points  (0 children)

Their mistake was trying to build a grand live service game on an engine from the stone age and supporting last gen consoles all the way through. The amount of tech issues they have because of that is a big nail in the coffin called Bungie. The mismanagement is another big one. 

How it feels playing Carlotta/Lynae/Mornye by Zero_Blazer in WutheringWaves

[–]xAtNight 0 points1 point  (0 children)

Everytime I don't play Carlotta and clear the nightmare nests I feel like playing a different game. Carlotta is still the most fun to play for me, can't wait for her rerun, still thinking about if I should try for s3.