Add handwritten AMD64 assembly epoll/libpq submission (llm) #41

Closed
Vubni wants to merge 11 commits from Vubni/posvyat-challenge:submission/asm-epoll-vubni into master
Member

Adds a separate LLM-authored submissions/asm-epoll-vubni service in handwritten GNU AMD64 assembly using epoll and standard libc/libpq/OpenSSL/Jansson ABIs. The current executor has one asynchronous database connection with bounded admission and FIFO-prefix grouped chat, grade, submit, small draft-upload and delete transactions. Private-file reads batch fresh ACL metadata and bounded payload queries. Actual returned IDs/part ordinals identify results; publication and successful replies wait for confirmed COMMIT/full drain. Unknown outcomes freeze, fence and reload without replay. Multiple connections are a separate local follow-up, not enabled in this head.

Validation of the current exact binary: Linux amd64 build and unchanged API suite 137 passed / 0 failed; three real-PostgreSQL cases passed mixed-group COMMIT/no early ACK, late 57014 rollback/no effects, and dropped-COMMIT fenced recovery/exactly-once observations. A two-member upload/delete batch and separate new-parent upload passed actual-ID/byte/duplicate-name checks; a separate same-pair FIFO witness passed. App: 1 CPU/512 MiB, UID 1000, read-only, no swap. These are local amd64-emulated functional checks on ARM64; the official load limit is 1 CPU/1 GiB.

Multi-request private-file ACL and large-file deferral tests remain unexecuted: corrected local attempts stopped during startup COPY at the unchanged two-second SQL limit. Earlier startup/API runs passed; the timing cause is unknown. REPORT.md preserves partial/failed fixtures and the earlier official C1 baseline. The current grouped head has no official hold result yet; CI476 is pending.

This PR changes only the ASM submission folder and remains separate from Go #30, C++ #35 and C #37. It contains source, build/start scripts, licenses and Markdown; raw test artifacts stay outside the PR.

Adds a separate LLM-authored `submissions/asm-epoll-vubni` service in handwritten GNU AMD64 assembly using epoll and standard libc/libpq/OpenSSL/Jansson ABIs. The current executor has one asynchronous database connection with bounded admission and FIFO-prefix grouped chat, grade, submit, small draft-upload and delete transactions. Private-file reads batch fresh ACL metadata and bounded payload queries. Actual returned IDs/part ordinals identify results; publication and successful replies wait for confirmed COMMIT/full drain. Unknown outcomes freeze, fence and reload without replay. Multiple connections are a separate local follow-up, not enabled in this head. Validation of the current exact binary: Linux amd64 build and unchanged API suite **137 passed / 0 failed**; three real-PostgreSQL cases passed mixed-group COMMIT/no early ACK, late 57014 rollback/no effects, and dropped-COMMIT fenced recovery/exactly-once observations. A two-member upload/delete batch and separate new-parent upload passed actual-ID/byte/duplicate-name checks; a separate same-pair FIFO witness passed. App: 1 CPU/512 MiB, UID 1000, read-only, no swap. These are local amd64-emulated functional checks on ARM64; the official load limit is 1 CPU/1 GiB. Multi-request private-file ACL and large-file deferral tests remain unexecuted: corrected local attempts stopped during startup COPY at the unchanged two-second SQL limit. Earlier startup/API runs passed; the timing cause is unknown. REPORT.md preserves partial/failed fixtures and the earlier official C1 baseline. The current grouped head has no official hold result yet; CI476 is pending. This PR changes only the ASM submission folder and remains separate from Go #30, C++ #35 and C #37. It contains source, build/start scripts, licenses and Markdown; raw test artifacts stay outside the PR.
Batch ASM mutations and private file reads
All checks were successful
challenge / find (pull_request_target) Successful in 3s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 12m36s
f525f9673d
Parallelize ASM database lanes and retain committed chat pages
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 12m28s
99ad32246f
Use up to six bounded writer contexts with pair affinity and all-lane recovery. Retain independent committed detail/chat components, support cursor coverage and append actual chat rows after COMMIT.

The exact combined Linux amd64 binary passed all 137 API checks. Source reviews passed; the additional three-case run stopped during startup COPY before its cases. REPORT records the incomplete validation and the previous official 4000-user result.
Route cold assignment files independently across database writers
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 20m31s
5b5542e4dd
Keep student submission history on its owning database writer
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 15m40s
5a8d277b90
Route historical submissions through bounded committed ID hints
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 20m42s
b691cfc14b
Replace current submission ID vector with exact bounded hash
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 15m14s
2ac46cfaa7
Owner

image

![image](/attachments/783d2a07-62a7-4e29-a0e1-dffa74a3205e)
pxc1984 closed this pull request 2026-11-07 22:02:03 +00:00
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/asm-epoll-vubni) (pull_request_target) Successful in 15m14s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cu3rd/posvyat-challenge!41
No description provided.