From: karimik@sun.iust.ac.ir (Kamran Karimi)
Subject: DIPC, a system for distributed programming
Date: 1996/05/16 [thread overview]
Message-ID: <cola-liw-832282814-31141-0@liw.clinet.fi> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Good news for Linux power users!
I am glad to announce the availability of a pre-alpha system for programming
distributed applications, very easily.
It works by making System V IPC mechanisms (shared memory, semaphores and
messages) network transparent. Meaning that programs on different machines
can use the same IPC key to exchange data and synchronize between themselves
without bothering about the network.
This is called 'Distributed IPC', or DIPC.
Programs on different machines can use a key to get a shared region of
memory. They can all read from it, and a write by one process will
automatically become visible to others . This brings 'Segment Based'
Distributed Shared Memory (DSM) to Linux.
Messages can also be used to pass data in a synchronous way between
machines.
Semaphores are used to arbitrate access to the shared memory or the message
queues.
DIPC is a very simple system that seems to work well. The main parts of it
run in user space.
It has some advantages:
*) There is no need to know about network programming.
*) Unlike other distributed programming facilities, there are no new and
complex material to learn. If you are familiar with System V IPC, you
are already prepared to use DIPC. In any case you can find plenty of
information about System V IPC in many books written by professionals.
This is one less thing to worry about.
*) Existing software, possibly designed for multiprocessor systems, which
use System V IPC can easily be converted to distributed software.
*) You can write (and to a great extend test) a distributed application
on a single machine.
*) Some distributed systems require the programmer to take active role in
any data exchange across the network. This gives the ultimate flexibility
but makes the programmer's work harder. Others, like page-based DSM
systems, do data exchanges transparently, but the user has little say
in what and how much is transferred. many problems, like false sharing,
can occur.
In DIPC, as the programmer determines the size of data exchanges
(shared memory and message sizes) (s)he can tune the performance if
(s)he wants to. It means ease of programming and controllability at the
same time.
*) DIPC was designed with a heterogeneous environment in mind.
*) At least in theory, one may be able to use DIPC on WANs (Wide Area
Networks). This may be a major advantage.
DIPC can be used on a TCP/IP network. To use it, some changes must be
done to the kernel (I used kernel 1.2.8 and gcc 2.6.3 on 486 machines). A
manager program should also be running in user space. You can obtain the
necessary files and information from the linux Incoming (or ALPHA) directory
in sunsite.unc.edu.
Note that DIPC is still very alpha. Little testing has been done on it.
But This is the main reason I am making this public: to find as many bugs as
possible.
If you have questions about DIPC, send a mail to me. I am Kamran Karimi, a
graduate software student at IUST (Iran University of Science & Technology),
working towards an MS.
My e-mail address: karimik@sun.iust.ac.ir
My s-mail address: Kamran Karimi
89, Nastaran/Ghandehari
Khosh Shomali str.
14578 - Tehran
Iran@i\x10
In case you could not reach me at the above addresses, you may use
S7323122@cic.aku.ac.ir (but try them first).
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMZughIQRll5MupLRAQGNFwP9FV/Iz/ZcRcxtNoquQTC146qsqW9Lqi1Q
n9BzivDQo8gVY6vt+JqN0fJyFo4U2WblWh31lctZjPlpW7eGCJ4FW5s9MsKWGOEL
3OGEi2VzR+G1hxhVeCtrqU0WBC6oqWXuoCYqn69cXLIdJ/utJY+Zzt7i61HZwxSb
gXa9peX02dI=
=lTHW
-----END PGP SIGNATURE-----
--
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
reply other threads:[~1996-05-16 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox