search for: l2_miss

Displaying 14 results from an estimated 14 matches for "l2_miss".

2023 May 09
1
[Bridge] [RFC PATCH net-next 3/5] flow_offload: Reject matching on layer 2 miss
...djust drivers that support the 'FLOW_DISSECTOR_KEY_META' key to reject filters that try to match on the newly added layer 2 miss option. Add an extack message to clearly communicate the failure reason to user space. Example: # tc filter add dev swp1 egress pref 1 proto all flower skip_sw l2_miss true action drop Error: mlxsw_spectrum: Can't match on "l2_miss". We have an error talking to the kernel Signed-off-by: Ido Schimmel <idosch at nvidia.com> --- .../net/ethernet/marvell/prestera/prestera_flower.c | 6 ++++++ drivers/net/ethernet/mellanox/mlx5/core/en_tc.c...
2023 May 09
5
[Bridge] [RFC PATCH net-next 0/5] Add layer 2 miss indication and filtering
...isting metadata options such as 'indev'. A bit that is set for every flooded packet would also work, but it does not allow us to differentiate between registered and unregistered multicast traffic which might be useful in the future. A relatively generic name is chosen for this bit - 'l2_miss' - to allow its use to be extended to other layer 2 devices such as VXLAN, should a use case arise. With the above, the control plane can implement a non-DF filter using the following tc filters: # tc filter add dev bond0 egress pref 1 proto all flower indev vxlan0 dst_mac 01:00:00:00:00:00/...
2023 May 18
5
[Bridge] [PATCH net-next 0/5] Add layer 2 miss indication and filtering
...isting metadata options such as 'indev'. A bit that is set for every flooded packet would also work, but it does not allow us to differentiate between registered and unregistered multicast traffic which might be useful in the future. A relatively generic name is chosen for this bit - 'l2_miss' - to allow its use to be extended to other layer 2 devices such as VXLAN, should a use case arise. With the above, the control plane can implement a non-DF filter using the following tc filters: # tc filter add dev bond0 egress pref 1 proto all flower indev vxlan0 dst_mac 01:00:00:00:00:00/...
2023 May 19
2
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...- a/net/bridge/br_input.c > > +++ b/net/bridge/br_input.c > > @@ -334,6 +334,7 @@ static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) > > return RX_HANDLER_CONSUMED; > > > > memset(skb->cb, 0, sizeof(struct br_input_skb_cb)); > > + skb->l2_miss = 0; > > > > p = br_port_get_rcu(skb->dev); > > if (p->flags & BR_VLAN_TUNNEL) > > Overall looks good, only this part is a bit worrisome and needs some additional > investigation because now we'll unconditionally dirty a cache line for every > pack...
2023 May 23
3
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...ex fc17b9fd93e6..274e55455b15 100644 > > --- a/net/bridge/br_input.c > > +++ b/net/bridge/br_input.c > > @@ -46,6 +46,8 @@ static int br_pass_frame_up(struct sk_buff *skb) > > */ > > br_switchdev_frame_unmark(skb); > > > > + skb->l2_miss = BR_INPUT_SKB_CB(skb)->miss; > > + > > /* Bridge is just like any other port. Make sure the > > * packet is allowed except in promisc mode when someone > > * may be running packet capture. > > > > Ran these changes through the self...
2023 May 23
1
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...4 > > > --- a/net/bridge/br_input.c > > > +++ b/net/bridge/br_input.c > > > @@ -46,6 +46,8 @@ static int br_pass_frame_up(struct sk_buff *skb) > > > */ > > > br_switchdev_frame_unmark(skb); > > > > > > + skb->l2_miss = BR_INPUT_SKB_CB(skb)->miss; > > > + > > > /* Bridge is just like any other port. Make sure the > > > * packet is allowed except in promisc mode when someone > > > * may be running packet capture. > > > > > > Ran...
2010 Apr 02
6
L2ARC & Workingset Size
...ksum_bad 0 l2_evict_lock_retry 0 l2_evict_reading 0 l2_feeds 2 l2_free_on_write 1 l2_hdr_size 0 l2_hits 0 l2_io_error 0 l2_misses 40 l2_read_bytes 0 l2_rw_clash 0 l2_size 244224 l2_write_bytes 403968 l2_writes_done 2 l2_writes_error 0 l2_writes_hdr_miss...
2023 May 19
1
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
....c b/net/bridge/br_input.c > index fc17b9fd93e6..274e55455b15 100644 > --- a/net/bridge/br_input.c > +++ b/net/bridge/br_input.c > @@ -46,6 +46,8 @@ static int br_pass_frame_up(struct sk_buff *skb) > */ > br_switchdev_frame_unmark(skb); > > + skb->l2_miss = BR_INPUT_SKB_CB(skb)->miss; > + > /* Bridge is just like any other port. Make sure the > * packet is allowed except in promisc mode when someone > * may be running packet capture. > > Ran these changes through the selftest and it seems to work. Ca...
2011 Feb 03
1
ZFS Write Performance Issues
...s:l2_abort_lowmem 0 zfs:0:arcstats:l2_cksum_bad 0 zfs:0:arcstats:l2_evict_lock_retry 0 zfs:0:arcstats:l2_evict_reading 0 zfs:0:arcstats:l2_feeds 0 zfs:0:arcstats:l2_free_on_write 0 zfs:0:arcstats:l2_hdr_size 0 zfs:0:arcstats:l2_hits 0 zfs:0:arcstats:l2_io_error 0 zfs:0:arcstats:l2_misses 0 zfs:0:arcstats:l2_read_bytes 0 zfs:0:arcstats:l2_rw_clash 0 zfs:0:arcstats:l2_size 0 zfs:0:arcstats:l2_write_bytes 0 zfs:0:arcstats:l2_writes_done 0 zfs:0:arcstats:l2_writes_error 0 zfs:0:arcstats:l2_writes_hdr_miss 0 zfs:0:arcstats:l2_writes_sent 0 zfs:0:arcstats:m...
2012 Jan 03
10
arc_no_grow is set to 1 and never set back to 0
...= 781 MB c_min = 64 MB c_max = 15351 MB size = 788 MB buf_size = 185 MB data_size = 289 MB other_size = 313 MB l2_hits = 0 l2_misses = 14366462 l2_feeds = 0 l2_rw_clash = 0 l2_read_bytes = 0 MB l2_write_bytes = 0 MB l2_writes_sent = 0 l2_writes_done = 0 l2_writes_error =...
2010 Mar 05
17
why L2ARC device is used to store files ?
Greeting All I have create a pool that consists oh a hard disk and a ssd as a cache zpool create hdd c11t0d0p3 zpool add hdd cache c8t0d0p0 - cache device I ran an OLTP bench mark to emulate a DMBS One I ran the benchmark, the pool started create the database file on the ssd cache device ??????????? can any one explain why this happening ? is not L2ARC is used to absorb the evicted data
2020 Aug 05
10
[RFC] Machine Function Splitter - Split out cold blocks from machine functions using profile data
...miss rates. The table below summarizes our experiment, each data point is averaged over multiple iterations. The observed variation for each metric is < 1%. Event Split (MPKI) Baseline (MPKI) % Reduction itlb_miss 0.87 1.28 31.70 stlb_miss 0.08 0.12 32.51 l1i_miss 5.98 6.61 9.56 l2_miss 0.27 0.34 20.02 In this experiment, the function splitting pass moved cold code from ~30K functions in .text and .text.hot. We present a comparison of the binary contents using bloaty <https://github.com/google/bloaty> FILE SIZE VM SIZE -------------- -------------- +2...
2020 Aug 10
2
[RFC] Machine Function Splitter - Split out cold blocks from machine functions using profile data
...iss rates. The table below summarizes our experiment, each data point is averaged over multiple iterations. The observed variation for each metric is < 1%. Event Split (MPKI) Baseline (MPKI) % Reduction itlb_miss 0.87 1.28 31.70 stlb_miss 0.08 0.12 32.51 l1i_miss 5.98 6.61 9.56 l2_miss 0.27 0.34 20.02 In this experiment, the function splitting pass moved cold code from ~30K functions in .text and .text.hot. We present a comparison of the binary contents using bloaty<https://github.com/google/bloaty> FILE SIZE VM SIZE -------------- -------------- +2...
2020 Aug 05
3
[RFC] Machine Function Splitter - Split out cold blocks from machine functions using profile data
...gt;> itlb_miss >> >> 0.87 >> >> 1.28 >> >> 31.70 >> >> stlb_miss >> >> 0.08 >> >> 0.12 >> >> 32.51 >> >> l1i_miss >> >> 5.98 >> >> 6.61 >> >> 9.56 >> >> l2_miss >> >> 0.27 >> >> 0.34 >> >> 20.02 >> >> In this experiment, the function splitting pass moved cold code from ~30K >> functions in .text and .text.hot. We present a comparison of the binary >> contents using bloaty <https://github.com/go...