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

Re: dphys-swapfile why don't us fallocate to create swapfile



On Thu, 02 Jun 2016, Mark Fletcher wrote:
> On Thu, 2 Jun 2016 at 17:51, basti <black.fledermaus@arcor.de> wrote:
> 
> > Hello,
> >
> > on a low voltage cpu system I can see that the creation of an 1 GB swap
> > file can take several minutes. (The file-system is on SD-card which
> > write about 6-7 MB/s).
> >
> > As I see fallocate can do this job much faster, so why you don't use this?
> >
> > fallocate is also part of the util-linux package which essential in debian.
> >
> > Best Regards,
> > basti
> >
> > Why don't we use it? We don't use it because we are a user group, not
> application developers. The clue was in the group name...


Reply to: