Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 10:22:58 +0200
From:      "Kai Mosebach" <kai.mosebach@freshx.de>
To:        "'Mike Makonnen'" <mtm@identd.net>
Cc:        freebsd-threads@freebsd.org
Subject:   AW: LinuxThreads replacement
Message-ID:  <000501c346bc$78fdf0d0$0100a8c0@alpha>
In-Reply-To: <20030710081318.GA14524@kokeb.ambesa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi,
> >
> > Hmm, some kind of benchmark would be pretty interesting, thats
right.
> > But im not sure, whether its done by simply switching between the
lib in
> > the
> > Libmap.conf, because sapdb consists of ~50 executables, which are
> > startet from each other (for example, you have a service listener,
which
> > starts a dm-manager, and later on a database-kernel and so on ...),
so i
> > guess, that i have to whether 1) link libc_r or some nasty trick
like
> > that, or to create to binary versions.
> >
> 
> I'm not sure I understand what you are saying.
> 
> To begin with you should go to /usr/src/libexec/rtld-elf and do a
> make clean;  make depend && make -DWITH_LIBMAP && make install
> 
> Assuming, that whatever you're porting is NOT statically linked, then
> all you have to do is edit /etc/libmap.conf; for example:
> # global mappings
> libc_r.so.5	libkse.so.1
> libc_r.so	libkse.so

OK, that would bet the best way for performance testings i guess.
I was just aware of the possibility of mapping a lib to an executable
...

> 
> and then start the application. Any executables that are started
> after that and are linked to libc_r, will instead link with
> libkse. Then, you stop the database, and edit libmap.conf to
> point to libthr. Then, startup the database.
> For more information: man libmap.conf.
> 
> Cheers.
> --
> Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
> mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
> mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c346bc$78fdf0d0$0100a8c0>