Opened 5 years ago

Last modified 5 years ago

#1684 open defect

i2psnark: Optimize for solid state drives

Reported by: zzz Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.22
Keywords: Cc:
Parent Tickets: Sensitive: no


On solid state drives, we aren't concerned with fragmentation and can probably change strategies to reduce I/O.

Two places:

1) Storage.allocateFile(), don't balloon file (easy)
2) PartialPiece?, write directly to Storage's RAF (difficult)

Pretty sure there's no OS-independent way of determining what type of drive we are on. For now we could just use SystemVersion?.isArm() as a proxy. That may be the only way.

Note that /sys/block/*/queue/rotational is wrong in my tests, always outputs 1, ref:


Change History (2)

comment:1 Changed 5 years ago by zzz

part 1 in 06ca548427060f7fe0ab8251f4aeb42dd051ea4d to be 0.9.22-19

comment:2 Changed 5 years ago by str4d

Status: newopen
Note: See TracTickets for help on using tickets.