Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-06-07 Thread David Teigland
On Mon, Jun 07, 2021 at 03:48:30PM +, Martin Wilck wrote: > On So, 2021-06-06 at 14:15 +0800, heming.z...@suse.com wrote: > > > > 1. During boot phase, lvm2 automatically swithes to direct activation > > mode > > ("event_activation = 0"). After booted, switch back to the event > > activation

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-06-07 Thread David Teigland
On Mon, Jun 07, 2021 at 10:27:20AM +, Martin Wilck wrote: > Most importantly, this was about LVM2 scanning of physical volumes. The > number of udev workers has very little influence onĀ PV scanning, > because the udev rules only activate systemd service. The actual > scanning takes place in

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-06-07 Thread David Teigland
Hi Heming, Thanks for the analysis and tying things together for us so clearly, and I like the ideas you've outlined. On Sun, Jun 06, 2021 at 02:15:23PM +0800, heming.z...@suse.com wrote: > I send this mail for a well known performance issue: > when system is attached huge numbers of devices.

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-06-07 Thread Zdenek Kabelac
Dne 07. 06. 21 v 17:48 Martin Wilck napsal(a): On So, 2021-06-06 at 14:15 +0800, heming.z...@suse.com wrote: 1. During boot phase, lvm2 automatically swithes to direct activation mode ("event_activation = 0"). After booted, switch back to the event activation mode. Booting phase is a speical