sthoratsymc
on 12/6/07
Asked
The ONTAP API fcp-adapter-list-info (with verbose option) returns one field "cache-line-size". What's this ? What is the unit of this size ?
RAVIR_internal
Marketing
on 12/7/07
Answered
Hi,
CacheLine size indicates the data size that can be stored in each cash block of the FC Adapter(Cache is typically divided in to cache blocks). The metric for this size is not available in the document, i think you can get the metric info for this data from the FC Adapter specification guide. I will try to get this info from the engineering team.
regards
ravi
kirank_internal
on 12/10/07
Answered
Hi there,
The cache-line-size is a PCI configuration parameter supplied to the PCI adapter by the hardware platform to optimize i/o.
The value of this as supplied by Data OnTap is a 32-bit (unsigned) integer.
Kiran.
While searching for the info on cache-line-size, i landed up to the correct thread but didnt get the exact answer.
I want to know what's the unit of the cache-line-size? Is it in Gigs or mega?
--Ashit
Unit of cache-line-size seems to be in bytes. I got this info from a comment line in the code.
Thanks,
Rashmi.
Thanks Rashmi.
On the filer, the API output (fcp-adapter-list-info) gives the cache-line-size as '8'. So should we assume it to be 8 bytes. I guess that is too small value for cache.
results status="passed">
<fcp-config-adapters>
<fcp-config-adapter-info>
<adapter>0c_0</adapter>
<node-name>50:0a:09:80:85:75:d0:be</node-name>
<port-name>50:0a:09:81:85:75:d0:be</port-name>
<loop-id>7</loop-id>
<port-id>66010</port-id>
<media-type>loop</media-type>
<state>ONLINE</state>
<adapter-type>Local</adapter-type>
<hardware-rev>2</hardware-rev>
<firmware-rev>3.3.19</firmware-rev>
<info-name>Dual-channel, QLogic 2312 (2342)</info-name>
<pc-bus-width>32</pc-bus-width>
<pc-clock-speed>33</pc-clock-speed>
<cache-line-size>8</cache-line-size> <--------------------------------------
<packet-size>2048</packet-size>
<sram-parity-enabled>true</sram-parity-enabled>
<external-gbic-enabled>false</external-gbic-enabled>
<data-link-rate>2</data-link-rate>
<fabric-established>true</fabric-established>
<connection-established>loop</connection-established>
</fcp-config-adapter-info>