[PATCH] um: clean up mm creation

Anton Ivanov anton.ivanov at cambridgegreys.com
Fri Sep 22 13:08:26 PDT 2023


On 22/09/2023 20:41, Johannes Berg wrote:
> On Fri, 2023-09-22 at 14:41 +0100, Anton Ivanov wrote:
>>
>> It is nearly twice slower than the current approach on a find /usr -type f -exec cat {} > /dev/null \;
>>
> 
> Btw, I cannot reproduce that at all - seems about the same in my tests?
> 
> Is there anything special in your setup?
> 
> Or maybe it's because I'm using hostfs? But not sure why that would
> matter.

I am using a ubd with ext4 sitting on an nfs server. The host, however, 
has more than enough memory to cache all of it, so it is pretty much 
like reading off a ramdisk as it is fully cached.

It is quite clear in that case.

I can retest with nfs (easily) and I can tweak the setup to retest with 
hostfs.

> 
> johannes
> 

-- 
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/




More information about the linux-um mailing list