[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xentrace buffer size, maxcpus and online cpus


  • To: George Dunlap <george.dunlap@xxxxxxxxx>
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Fri, 16 Jun 2023 17:37:17 +0200
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1686929844; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=TOVhKHcZds+z64/Mll4qxdSnkrdEf3civ2YHnUTTv8o=; b=As/c1Ee+N+2i5GSowXKaLTJIDmBrOHtHpxBl10sY+FWhPAP25C2EaX2EnKi4d5u23+ nQugGqmQlQT1cI3PuaDdrkdjoy+OE68az1AJx9FK3Q80P59aZyYkVwAKwuW1vAF3BR4J lW/KZokJs5q4bqkFDfmDEWADnWuZH1LVrJ2KQGjZk1j1moY4gDdLZqT/l8vP/KP1pj7L XWecXlfG9JchjxpI/bdCwWqcdNKPWhYoi8yUYartmD8bEvNIY2FBppezfnrSrubeKDFs kRwA3c2DvxD3cEEto362FqqE6rVB1MuxQRB5RAT2ugZjj+z8kkvSmAGeGWST6hdaD5/h NROw==
  • Arc-seal: i=1; a=rsa-sha256; t=1686929844; cv=none; d=strato.com; s=strato-dkim-0002; b=hXlGPjikASoOWrPlfxxrGJYRcCW0YHoJA2CJH5kNikcUujKNjWTGy5dDTHGwuILaxD Jm5BlUs0tvmh61zuvjiZF/y1i8qMaM20hyn0LhVl8zcA/mo9KTEvyPrZXwMIyGAoMWEs erPZTYbM58/t5nlzL8A655mZuK+dzvCEGtJwyOY9MGWC+Q302C4ov1ZYu7PHAkba55i0 HgfY9l5XJ0FpyOv5jN7wIRJvSY9m3dOCNjW1nroar2xXbY+ZjTVr/amaFZvPLyMbqWlY XnKtXY+pmhD59+9JVPAvsn/qTpssuzituitk6RqU7lZFpIN3Bz2GTQ36niOHB3poWYW+ kKQw==
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
  • Delivery-date: Fri, 16 Jun 2023 15:37:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Fri, 16 Jun 2023 15:22:24 +0100 George Dunlap <george.dunlap@xxxxxxxxx>:

> I agree; the clear implication is that with smt=0, you might have
> num_online_cpus() return 4, but cpuids that look like {1, 3, 5, 7}; so you
> need the trace buffer array to be of size 8.

I see. Apparently some remapping is required to map a cpuid to an index
into the trace buffer metadata.


Olaf

Attachment: pgpjOXiI4TRWS.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.