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

Re: Bug#295087: udev and kernel page size of alpha



On Feb 13, Uwe Schindler <uwe@thetaphi.de> wrote:

> and udev does not work anymore. The interesting thing is: if you create a
> file in /dev and echo something in it - no error occurs. After that the file
> is empty (bug in tmpfs?)
Yes.

> This is caused by the kernel page size on alpha machines which is 8192
> Bytes, on athlon I think it is 1024 Bytes (correct? /proc/cpuinfo does not
> show this). Each 20 Byte file so uses a page of 8192 Bytes *RAM* - not good.


> * raise the default maximum size of /dev in the udev.conf to a higher level
Looks like I will have to do this..

> * move udevdb elsewhere - speed issues
Cannot be done, there are not writeable file systems available at the
time the database is created.

> * rewrite udev to save the udevdb in a large file (best solution) - but this
> is not Debian's issue.
This was the precedent implementation, which had other kinds of issues.

Another solution could be to make tmpfs store the content of small files
in the inode, like ext2 does for short symlink names, but I fear that
kernel developers may consider this excessive complexity.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: