2010/3/25 Ferry Kristianto <mailtomyitan...@gmail.com>: > Hai, > > Akhir-akhir ini saya suka download DVD repositories dari debian dan ubuntu > dalam bentuk file ISO. > Nah karena berpikir praktis saja, saya mount semua file iso ini ke direktori > yang bisa diakses oleh webserver, jadi untuk server repository lokal di > kantor. > Tapi karena jumlah loop devices kurang, saya tambahkan di file > /etc/modprobe.d/options jumlah loop device maksimal menjadi 64. > > Pertanyaan saya, apakah jumlah loop devices yang banyak berpengaruh ke > kinerja sistem bila semua dipakai? menghabiskan memori, atau bagaimana? > Atau malah ini cara yang lebih praktis? >
http://lxr.linux.no/#linux+v2.6.33/drivers/block/loop.c#L1587 /* * loop module now has a feature to instantiate underlying device * structure on-demand, provided that there is an access dev node. * However, this will not work well with user space tool that doesn't * know about such "feature". In order to not break any existing * tool, we do the following: * * (1) if max_loop is specified, create that many upfront, and this * also becomes a hard limit. * (2) if max_loop is not specified, create 8 loop device on module * load, user can further extend loop device by create dev node * themselves and have kernel automatically instantiate actual * device on-demand. */ -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id Arsip dan info milis selengkapnya di http://linux.or.id/milis