RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 35 из 100
 От   : The Natural Philosopher             3:633/10          13 мар 26 16:01:50
 К    : All                                                   13 мар 26 23:34:02
 Тема : Re: Adding a hardware swap partition
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 7fffa7b7
@REPLY: 3:633/10 0f933d5e
@PID: PyGate 1.5.13
@TID: PyGate/Linux 1.5.13
@CHRS: ASCII 1
@TZUTC: 0000
@REPLYADDR tnp@invalid.invalid
@REPLYTO 3:633/10 UUCP
@RFC-Message-ID: <10p1cde$3an5p$3@dont-email.me>
On 13/03/2026 14:16, Theo wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> I think that is an interesting summary, the point being made that speed
>> is dominated today by disk access times, not CPU cycles in addressing  a
>> file system.
>> And with the demise of spinning rust, there is no seek delay either, so
>> the theoretical advantages of an actual partition in the disks low
>> sector area, no longer outweigh the operational simplicity of a swap file.
>>
>> Like so many other things that grew out of limited RAM and slow spinning
>> rust disks, the swap partition is really no longer necessary...

> One advantage of a swap partition is that it`s a dedicated space - if you
> start running low on space it may limit the size of swapfile that can be
> created, which has a knock-on impact on performance.

I dont think you understand the nature of a swapfile.

It is a fixed length file.


> Another reason is if you`re using hibernate.  You need swap space at least
> as large as RAM to save out your memory contents to, so that can prevent
> hibernate working if you are running low on space.  Also hibernate/restore
> is a fairly low-level process and swap partitions are easier to setup for
> that than swap files.

Again, you are talking bollocks. Swap files are pre-allocated, of fixed 
size, and zero filled.


> Theo

-- 
You can get much farther with a kind word and a gun than you can with a 
kind word alone.

Al Capone




--- PyGate Linux v1.5.13
 * Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 280 414 416 418 420 422 509 2744
712/848 770/1 3 100 340 350
SEEN-BY: 772/210 220 230 5019/40 5020/715 848 1042
4441 12000 5030/49 722
SEEN-BY: 5030/1081 1474 5053/55 5061/133 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх