Re: shared memory segment size alignment

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2004-01-17 06:18:57
>>>>> On Fri, 16 Jan 2004 10:31:11 -0800 (PST), umut aymakoglu <umutaymak@yahoo.com> said:

  umut> Hi - In some kernel versions the SHMLBA is defined as
  umut> 1MB(1024*1024) and in some as 16K. What would be the
  umut> difference between aligning the shared memory segment size on
  umut> 1MB versus 16K before calling shmget()? Would there be any
  umut> performance gain/lose? We are aligning the segment address on
  umut> 1MB.

The ia64 architecture allows CPUs to have a performance penalty when
there is virtual aliasing below a 1MB boundary.  So if you don't align
to 1MB, it _could_ run slower.  No existing processor models do that,
but future models might.

	--david
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jan 16 14:24:19 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST