[Lazarus] semaphores
Lukasz Sokol
el.es.cr at gmail.com
Thu Feb 9 13:18:39 CET 2012
On 09/02/2012 11:18, Mark Morgan Lloyd wrote:
> Lukasz Sokol wrote:
>> On 09/02/2012 10:01, Sven Barth wrote:
>>
>>> The memory that is used by CPU caches is the fastest (but also
>>> the most expensive that's why it's only used for the relatively
>>> small caches).
>>>
>>> Regards, Sven
>>>
>> Is there a way for a non-kernel-developer or plain FPC/Laz user to
>> control what is stored in cpu cache ? I thought cache management is
>> done transparently to userspace...?
>
> Only on IA-64 ("Itanic") as far as I know, and in any case for
> prefetches etc. to be effective the application code would have to be
> intimately familiar with the details of the hardware implementation.
> It's the sort of thing that would be a compile-time option on a Cray
> :-)
>
Thought so ;) (disclaimer : I read lkml sometimes stumbling upon devs
reordering paddings in structures to make them fit into cachelines)
L.
More information about the Lazarus
mailing list