Lines Matching +full:in +full:- +full:memory

5 .\"	Poul-Henning Kamp  All rights reserved.
11 .\" Redistribution and use in source and binary forms, with or without
16 .\" 2. Redistributions in binary form must reproduce the above copyright
17 .\" notice, this list of conditions and the following disclaimer in the
26 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
41 .Nd create and control memory disks
80 .Bl -tag -width indent
82 Attach a memory disk.
83 This will configure and attach a memory disk with the
89 Detach a memory disk from the system and release all resources.
91 Resize a memory disk.
93 Select the type of the memory disk.
94 .Bl -tag -width "malloc"
96 Storage for this type of memory disk is allocated with
98 This limits the size to the malloc bucket limit in the kernel.
102 malloc-backed memory disk is a very easy way to
107 becomes the backing store for this memory disk.
109 Storage for this type of memory disk is allocated from buffer
110 memory.
111 Pages get pushed out to swap when the system is under memory
112 pressure, otherwise they stay in the operating memory.
122 Filename to use for the vnode type memory disk.
156 Size of the memory disk.
172 Sectorsize to use for the memory disk, in bytes.
190 Associate a label (arbitrary string) with the new memory disk.
192 .Bd -literal -offset indent
197 .Bl -tag -width indent
208 backed devices: enable/disable caching of data in system caches.
223 The result is that with normal (non-zfs) caching,
225 but their data is kept in the page cache at lower priority.
229 option tends to waste memory by giving unwanted double caching,
230 but it saves time if there is memory to spare.
234 Enable/disable compression features to reduce memory usage.
242 disk that is still in use.
246 backed devices: detect whether hole-punching is supported by the underlying file
248 If the file system supports hole-punching, then to handle a
252 Any parts which are not turned into holes are zero-filled in
255 hole-punching,
266 request, if the file system supports hole-punching, some or all of the request's
267 operation range may be turned into a hole in the file used for backing store.
268 Any parts which are not turned into holes are zero-filled in the file.
269 If the file system of the vnode type memory disk does not support hole-punching,
270 the request's operation range is zero-filled in the file.
305 .Bd -literal -offset indent
309 Create a 1 gigabyte swap backed memory disk named
311 .Bd -literal -offset indent
312 mdconfig -s 1g -u md3
317 .Bd -literal -offset indent
318 mdconfig -du md3
321 Show detailed information on current memory disks:
322 .Bd -literal -offset indent
323 mdconfig -lv
328 memory disk to 2 gigabytes:
329 .Bd -literal -offset indent
330 mdconfig -rs 2g -u md3
337 .Bd -literal -offset indent
338 mdconfig -s 1g -u md10
339 newfs -U /dev/md10
344 Create a memory disk out of an ISO 9660 CD image file,
348 .Bd -literal -offset indent
349 mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt
352 Create a file-backed device from a hard disk image that begins
357 to the start of the filesystem in the image.
358 .Bd -literal -offset indent
359 mdconfig -u md1 -f diskimage.img
360 gnop create -o 512K md1
376 utility first appeared in
384 .An Poul-Henning Kamp Aq Mt phk@FreeBSD.org .