RE: Poor write performance to boot area using rcar-gen3-sdhi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian Loehle,

> -----Original Message-----
> From: Christian Loehle <CLoehle@xxxxxxxxxxxxxx>
> Sent: Tuesday, April 18, 2023 8:48 AM
> To: Richard Weinberger <richard@xxxxxx>; Biju Das
> <biju.das.jz@xxxxxxxxxxxxxx>
> Cc: linux-mmc <linux-mmc@xxxxxxxxxxxxxxx>; linux-renesas-soc <linux-renesas-
> soc@xxxxxxxxxxxxxxx>; wsa+renesas <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>; ulf
> hansson <ulf.hansson@xxxxxxxxxx>
> Subject: RE: Poor write performance to boot area using rcar-gen3-sdhi
> 
> Your eMMC likely treats the boot partitions differently than the user area,
> e.g. in regards to cache.

Boot partition is set by TF-A[1]. How does it differs from one used in Linux?
[1] https://elixir.bootlin.com/arm-trusted-firmware/v2.8.0/source/drivers/renesas/common/io/io_emmcdrv.c#L169

Cheers,
Biju


> Is this reproducible for more 4k writes? What about larger writes?
> The eMMC might not even have the mapping available after boot and first has
> to internally switch to it, in contrast to at u-boot stage?
> 
> Anyway this is probably more a question to your eMMC manufacturer and
> nothing the host is to be blamed, as you mentioned yourself, the time is
> spent at CMD25.
> 
> -----Original Message-----
> From: Richard Weinberger <richard@xxxxxx>
> Sent: Tuesday, April 18, 2023 8:16 AM
> To: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> Cc: linux-mmc <linux-mmc@xxxxxxxxxxxxxxx>; linux-renesas-soc <linux-renesas-
> soc@xxxxxxxxxxxxxxx>; wsa+renesas <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>; ulf
> hansson <ulf.hansson@xxxxxxxxxx>
> Subject: Re: Poor write performance to boot area using rcar-gen3-sdhi
> 
> ----- Ursprüngliche Mail -----
> > Von: "Biju Das" <biju.das.jz@xxxxxxxxxxxxxx> Not sure, the file system
> > used between /dev/mmcblk1boot1 and /dev/mmcblk1p13 is making
> > difference at Linux?
> >
> > I have seen performance difference between FAT and ext4.
> 
> There is no filesystem, I'm writing directly using dd to the raw block
> device.
> 
> Thanks,
> //richard
> 
> Hyperstone GmbH | Reichenaustr. 39a  | 78467 Konstanz Managing Director: Dr.
> Jan Peter Berns.
> Commercial register of local courts: Freiburg HRB381782




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux