($INBOX_DIR/description missing)
 help / color / Atom feed
* Re: Overlayfs performance issue
       [not found] <2701751f.acd1.1772201657e.Coremail.zjh.20052005@163.com>
@ 2021-01-21  7:45 ` Miklos Szeredi
  0 siblings, 0 replies; only message in thread
From: Miklos Szeredi @ 2021-01-21  7:45 UTC (permalink / raw)
  To: garyhuang; +Cc: linux-unionfs

On Wed, Jan 20, 2021 at 11:54 PM garyhuang <zjh.20052005@163.com> wrote:
>
> Hi Miklos,
>
> Have you ever come into this?
>
> 1. dockerd with overlay2
>    a. Running nginx in container mounting the host directory which contains the file to be accessed (docker -v xxx:xxx)
>    b. Running nginx in container mounting the host file directly
>    The RPS varies too much (RPS(a) < RPS(b)), the more the workers are, the bigger the discount is
>
> 2. dockerd with devicemapper
>    Running nginx in container with both the same mounting scenarios, the RPS is not discounted
>
> 3. nginx on host, no performance discounted too. The RPS equals to container with devicemapper.
>
> It is kernel related with big extra spinlock consumption observed by perf when running dockerd with overlayfs even the file is mounted from outside host path.

It's not clear where the contention is coming from.  Can you get some
detail from the perf trace where we can see which overlayfs functions
are involved?

Thanks,
Miklos

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2701751f.acd1.1772201657e.Coremail.zjh.20052005@163.com>
2021-01-21  7:45 ` Overlayfs performance issue Miklos Szeredi

($INBOX_DIR/description missing)

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-unionfs/0 linux-unionfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-unionfs linux-unionfs/ https://lore.kernel.org/linux-unionfs \
		linux-unionfs@vger.kernel.org
	public-inbox-index linux-unionfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-unionfs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git