Question about RWF_DONTCACHE - Mailing list pgsql-hackers

From Jinliang Zheng
Subject Question about RWF_DONTCACHE
Date
Msg-id TYZPR01MB61695DDBCC198BC806CAF6F9A171A@TYZPR01MB6169.apcprd01.prod.exchangelabs.com
Whole thread Raw
List pgsql-hackers
Hi, everyone

I am writing to ask if the recently introduced RWF_DONTCACHE [0] (originally named RWF_UNCACHE) in the Linux kernel
willbe or is already supported by PostgreSQL? 

I am not sure if RWF_DONTCACHE will improve PostgreSQL performance. In fact, I think it may even degrade performance.
Hasanyone tested this? 

[0] https://lwn.net/ml/all/20241203153232.92224-2-axboe@kernel.dk/

Thanks, everyone.
Jinliang Zheng :)


pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Amcheck verification of GiST and GIN
Next
From: Tom Lane
Date:
Subject: Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly