mentby.com
Blog | Jobs | Help | Signup | Login

loading

SMP

Thu, 16 May 2013 02:47:58 -0700 Post Comments

Concurrency in OpenBSD (and other unix systems) is achieved with
process threads as the building block. Using that, you can build data
structures that use concurrency, for example using a producer-consumer
abstraction.

Since you do not tell us if you are interested in the kernel or
userland side of things, it is hard to point you to manual pages or
other documentation.

At this point in time, the kernel uses less concurrency than you might
expect, but it provides services to userland to either run process
threads concurrently given the limitations of the hardware, or at
least provide the abstractions so that it seems they run concurrently
on non-smp hardware.

In general, when programming userland programs, you do not need to
know if you are runing an smp system or not. Choose the concurrency
model that suits your problem best, which might very well be a single
threaded solution. A collection of single threaded processes is often
a good solution as well).

    -Otto

Read more »

out-of-order TCP

Wed, 15 May 2013 22:44:01 -0700 Post Comments

I'm trying to understand what problem you are trying to solve. TCP is
already designed to deal with out-of-order packets. By themselves,
out-of-order packets are not a problem. If selective acks are used,
the amount of retransimission should be relatively low.

Do you have numbers on the amount of duplicate data that is being sent
(because of out-of-order packets)?

    -Otto

Read more »

xenocara build failure

Tue, 14 May 2013 11:28:24 -0700 Post Comments

What is the revision of the file? Any sticky tags/dates?

rev should be 1.1.1.2

    -Otto

Read more »

Group(s)
Profile Widget
Copy and paste this HTML code to your blog or website: