Sonnet is fucking sucks.
Build Logs & Dev Diaries
Direct work logs from the software build process—candid debugging sessions, thesis revisions, and architectural notes.
I'm running out of time.
It was misunderstood all along. My first supervisor thought that my scope was on ongoing requests. He's talking about placement as in placing the task, not the pods. Clarified it today. Switch back to regular container apps, not vLLM. But because of that, I will also have another responsibility for finishing the project for offloading that ongoing vLLM requests.
There are no significant benefits in terms of response time or SLO violations if a pod is placed on one node or another. At least not when the network delay are so small and there's no real hardware difference for the particular workload.
I've tried everything. Proposed able to perform better when traffic locality with spillover mechanism is implemented. Strict locality will make the placement suffer to hotspot, and when it suffers, there is nothing the controller can do. This is due to the vLLM native architecture, where there is no point in deploying multiple pods on the same machine. The bottleneck is not in the concurrency, but in the I/O itself. Deploying multiple pods will likely perform worse than a single large pod because each pod contains gigabytes of model weights.
This is totally fucked up. I need to refine the experiment. Possibly fall back to the old scenario. First, show only one pod, but then we divide the traffic ratio, so we can really see the impact of locality. Second, we can steadily increase UE load with a 50:50 traffic ratio, showing that our controller can maintain SLO while default K3s can't. But in order to do so, I also need to consider dynamic SLO based on the token output. In real life, it's impossible to just use static profiling of the token response time.
Might be following up on the results with the lecturer for the progress report with Keio and its partner. Hope everything goes well, or at least I don't need to have everything ready by Thursday. Godspeed.
The VLAN is already switched. The propagation delay contribution to the whole response time is absurdly low. I see no point in using mobility if we're using the full response time metrics.
It's a dead end. We are either switching the metrics to TTFT (as used by many LLM benchmarks) and/or using tc to emulate the network latency. This road will be long and hard, but I'll accept nothing less than a full victory before the year turns.
Thank you for finally saying something. I wish you'd said it when it still mattered.
Got some issues regarding the experiment. Where the requests come from doesn't really matter. Accessing from gNB-2 to the core is truthfully faster in terms of response time than accessing the local MEC. It's really weird and broke all my hypotheses. Possibly caused by all the machines being linked up inside one broadcast domain. Might try to separate them into different VLANs to introduce more latency and test it again using multiple UEs instead of just one request/UE.
Hope it works as expected.
We got things cleared up. It was a misunderstanding over the Open5GS implementation. We no longer transfer user context via UPF/UE since it was really a ridiculous idea. We also dismissed the idea of notifying and asking permission from the core, since NEF is also not supported on Open5GS. I'll be looking for another thing that can be gathered from the 5GC other than those.
Still struggling with KV-Cache things tho.
Escaping all those thesis (and project) madness.

Much things got clarified. But I still don't know how we will orchestrate the LLM and move its cache through the 5G network. I still genuinely don't think there will be any benefit to using UPF for the control/management plane. Need to dig into more 3GPP standards and more papers to be argued next week.
But I'm kinda relieved that all that hassle is actually part of the project. For my thesis, all I need to do is just find the most suitable node. Moving all those through the 5G network is part of the big project. But I'm still worried because only two nodes are capable of running it. I'm afraid there won't be much difference from the default Kubernetes.