13,824 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
1
replies
46
views
Effective Access Time in TLB level 2
I'm currently studying for my exam in an OS course, and I'm wondering if I'm calculating correctly the Effective Access Time in TLB level 2.
So the case is: If we use two-level paging, assume TLB has ...
Advice
0
votes
6
replies
77
views
Where should a beginner start with System Design and Pattern Recognition?
I am a software developer and I’m starting to learn System Design and Pattern Recognition concepts.
I want to understand:
how to approach system design problems step by step.
what fundamentals I ...
Advice
0
votes
1
replies
66
views
Cross-platform clipboard sync in Rust – polling vs OS events
I’m new here and working on a personal Rust project: a local Wi-Fi clipboard sync tool for Windows (GNU based linker), Linux, and FreeBSD.
The idea is simple: detect clipboard changes on one machine ...
Advice
0
votes
0
replies
59
views
Can Ray pause/resume tasks at synchronization points when GPUs are limited?
I'm training multiple neural networks in parallel using Ray, where networks must synchronize at specific points during training (not just at completion) to share metadata and update hyperparameters ...
0
votes
0
answers
37
views
IOAPIC fails on real hardware
I am writing my own operating system. I've just switched from PIC to APIC and everything works just fine in QEMU, but on real hardware it's a real mess:
Sometimes I get an interrupt 2, which I don't ...
0
votes
0
answers
48
views
How can a segment register with 16bit point to a segment descriptor in 32 protected mode
My understanding is i386 has segment registers with 16bit like CS it can point to code_descriptor in the GDT that should be in the RAM, to be able to reach to it we need 32bit address : How can CS ...
1
vote
0
answers
53
views
Readers-writer spinlock implementation for lab locks MIT OCW OS
I am trying to learn some operating system engineering so I came about MIT's operating system engineering course which has been wonderful so far.
The problem I'm having is with the second problem read-...
2
votes
0
answers
30
views
Surprising Result for os.loadavg in Node,js
So I am running Node.js on Windows Subsystem for Linux (WSL), and I made an experiment regarding Node.js `os.loadavg()`. Keep in mind my device has 16 CPU cores.
Consider 2 Node.js processes:
loadTest....
0
votes
0
answers
45
views
Are maskable and nonmaskable interrupt signals raised on two different interrupt request lines?
Are maskable interrupts that are typically raised from controllers to request CPU attention and non maskable interrupts (reserved for critical hardware errors) raised on two different interrupt ...
2
votes
0
answers
134
views
Packet corruption in Lockless ring buffer (multiple producer, single consumer)
I Am implementing Lockless ring buffer for multiple producer and single consumer (keeping in plan to extend it to multiple produce and consumer)
using design reference of dpdk buffer : https://doc....
0
votes
0
answers
42
views
What constitutes a "Mixed I/O-bound" workload in the context of CPU scheduling simulations?
am currently working on an assignment to simulate and analyze the performance of various CPU scheduling algorithms (such as FCFS, SJF, and Round Robin).
I was given a list of workload scenarios to ...
2
votes
1
answer
111
views
Using udf (undefined instruction) to check if the behavior is defined?
During debugging of some native code, I jumped into the assembly of calloc() on my MacOS (ARMv8). And I see some interesting technique, that seems to be checking if the instructions are defined at ...
Advice
0
votes
2
replies
86
views
Need advice on an operating system mini-project
I have a mini-project in which the objective is to simulate the movement of multiple robots (threads) on a 2D matrix (shared resource), using semaphores to ensure mutual exclusion when accessing the ...
Advice
0
votes
0
replies
42
views
Context Switching statistics on MacOS
On Linux, I can use tools like vmstat 1 2 or read from /proc/stat to measure the total and average number of context switches over a given time interval (for example, 1 second).
Is there an equivalent ...
Advice
1
vote
0
replies
45
views
What is the point of block group descriptors
I am implementing an EXT2 filesystem driver and trying to understand the purpose of block group descriptors.
From the superblock, I already know:
s_blocks_per_group - number of blocks in each block ...