A question for the Linux greybeards... I used ibcs2 extensively with 1.x and 2.{0,2,4} kernels in the '90s to run SCO Unix binaries. As far as I know, there never was official support for ibcs2 in 2.6-series kernels or later, so I might be stuck with 2.4.
So, which version is the latest ibcs2 for Linux? The latest version I could find is ibcs-2.1-981105.tar.gz on NTNU's tsx-11 mirror (https://ftp.nvg.ntnu.no/pub/mirrors/tsx-11.mit.edu/tsx-11/BETA/ibcs2/) - does anyone know a more recent one?
While sipping hot lemon tea 🍋🫖 and time to time visit on this damn thing ....bloody good 👍
While sipping hot lemon tea 🍋🫖 and time to time visit on this damn thing ....bloody good 👍
Viết lại lệnh 'sleep' từ đầu - không dùng thư viện, kể cả libc - chỉ dùng lệnh gọi hệ thống và mẹo lập trình assembly. Bài đăng khám phá cách cài đặt lệnh này ở cấp độ底层 giúp nâng cao hiểu biết về hệ điều hành và lập trình hệ thống. #Programming #Syscall #Assembly #LậpTrìnhC #HệThống #LowLevelProgramming
https://www.reddit.com/r/programming/comments/1pipzkv/rewriting_sleep_from_scratch_no_libraries_not/
Linux system calls. The great equalizer across programming languages. Let's see how they are used in various programs.
#linux #programming #go #golang #c #syscall #systemprogramming #software
Getting somewhat closer to releasing a new version of #swad. I now improved the functionality to execute something on a different worker thread: Use an in-memory queue, providing a #lockfree version. This gives me a consistent reliable throughput of 3000 requests/s (with outliers up to 4500 r/s) at an average response time of 350 - 400 ms (with TLS enabled). For waking up worker threads, I implemented different backends as well: kqueue, eventfd and event-ports, the fallback is still a self-pipe.
So, #portability here really means implement lots of different flavors of the same thing.
Looking at these startup logs, you can see that #kqueue (#FreeBSD and other BSDs) is really a "jack of all trades", being used for "everything" if available (and that's pretty awesome, it means one single #syscall per event loop iteration in the generic case). #illumos' (#Solaris) #eventports come somewhat close (but need a lot more syscalls as there's no "batch registering" and certain event types need to be re-registered every time they fired), they just can't do signals, but illumos offers Linux-compatible signalfd. Looking at #Linux, there's a "special case fd" for everything. 🙈 Plus #epoll also needs one syscall for each event to be registered. The "generic #POSIX" case without any of these interfaces is just added for completeness 😆