From: Dan Magenheimer Subject: RE: Re: vsyscalls may be going away... impact on Xen time performance on Linux in the future? Date: Thu, 9 Jun 2011 15:39:04 -0700 (PDT) Message-ID: <8c451ef9-6558-4111-885b-d93e9f7b1329@default> References: <070733f8-c7aa-4543-85dd-d353088b0e20@default 4DF14472.7050603@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4DF14472.7050603@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Konrad Wilk List-Id: xen-devel@lists.xenproject.org > > I honestly don't remember all the details myself anymore, > > but I think this means that user apps in Xen PV domains > > that call gettimeofday a *lot* may be in for a bit of > > a shock when they move to a 3.x kernel in the future. > > (Many enterprise apps do things like timestamp transactions, > > which can lead to 10s of thousands of gettimeofday's > > per second.) >=20 > He's talking about vsyscall, but not vdso. vsyscall mechanism is the > old one where kernel-provided code was mapped into userspace at fixed > addresses which were part of the ABI. Its only used by very old > versions of glibc. >=20 > The newer vdso mechanism provides a full shared object, which contains > symbols for the entrypoints so they don't need to be a fixed addresses > any more. >=20 > They're functionally equivalent, so there's no loss of performance from > dropping vsyscalls. Excellent... thanks for the reassurance. Dan