Alex Naidis a2f3d3c358 miatoll: Override readahead to 128KiB after post-boot
* Qualcomm decided to increase the read-ahead value to 512KiB [1].

 * This value resulted in frequent cases where read-ahead
   would be waiting for new I/O requests and thus ending
   up being synchronous rather than asynchronous.

 * As result, the main goal of Qualcomm's patch [1] which
   is to increase throughput ends up in a regression where
   read throughput is significantly lower than it ever
   would be with the recommended [2] read-ahead value.

 * This patch uses our existing loop in ramdisk to set
   the read-ahead value to 128KiB.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397

Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-04-23 07:15:21 +00:00
2021-04-23 07:15:10 +00:00
2020-12-05 00:36:18 +02:00
2021-04-23 07:15:21 +00:00
2021-04-23 07:15:10 +00:00

Device configuration for MI POCO M2 Pro,Redmi Note 9 Pro,Redmi Note 9 Pro Max

The MI POCO M2 Pro,Redmi Note 9 Pro,Redmi Note 9 Pro Max, unified/codenamed "miatoll", is a mid-range smartphone from Xiaomi.

It was announced and released in Year 2021.

Device specifications

Basic Spec Sheet
CPU Octa-core (2x2.3 GHz Kryo 465 Gold & 6x1.8 GHz Kryo 465 Silver)
Chipset Qualcomm SM7125 Snapdragon 720G
GPU Adreno 618
Memory 4/6/8 GB RAM
Shipped OS Version Android 10 with MIUI 12
Storage 64/128GB (UFS 2.1)
Battery Non-removable Li-Po 5020 mAh
Dimensions 165.8 x 76.7 x 8.8 mm (209G)
Display 1080 x 2400 pixels, 6.67 inches (~395 ppi pixel density)
Rear Camera Setup 48MP/64MP(MAX) wide, 8MP ultrawide and 5MP/13MP macro/depth lenses respectively
Front Camera 16MP/32MP (MAX)

Device picture

MI POCO M2 Pro,Redmi Note 9 Pro,Redmi Note 9 Pro Max

Description
No description provided
Readme 21 MiB
Languages
Makefile 65.9%
C++ 24.9%
Shell 9.2%