You are not logged in.

#1 2015-12-21 07:53:41

danangdk
Member
Registered: 2015-02-05
Posts: 23

disable fsync on spesific application

when i run some software i notice some increase in harddrive temperature, is there any chance to disable fsync, i can write some script in bash, just don't know how to start this

Offline

#2 2015-12-21 09:45:29

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: disable fsync on spesific application

May I suggest improving airflow in HDD bays instead?

Why would you want to do that? Any data "written" by applications will sooner or later be actually written to disk by the kernel even if applications don't call fsync.

Offline

#3 2015-12-21 09:54:02

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: disable fsync on spesific application

If it's sqlite doing the fsync'ing, then see compilation option.

Offline

#4 2015-12-21 10:22:04

MoSal
Member
Registered: 2015-09-23
Posts: 32

Re: disable fsync on spesific application

eatmydata/libeatmydata is available in the AUR.

Last edited by MoSal (2015-12-21 10:22:34)

Offline

#5 2015-12-22 12:45:26

danangdk
Member
Registered: 2015-02-05
Posts: 23

Re: disable fsync on spesific application

MoSal wrote:

eatmydata/libeatmydata is available in the AUR.

how to utilize this library, from bash by script ??

Offline

#6 2015-12-22 21:10:18

MoSal
Member
Registered: 2015-09-23
Posts: 32

Re: disable fsync on spesific application

danangdk wrote:
MoSal wrote:

eatmydata/libeatmydata is available in the AUR.

how to utilize this library, from bash by script ??

eatmydata command [args]

Offline

Board footer

Powered by FluxBB