Skip to contentSkip to conversation

How to layout sparce files before run? Why all files for all jobs have same size?

DISCUSSION Lev Serebryakov 2 participants 3 messages Mar 6, 2013 – Mar 7, 2013

lore
Share & tools
lore
#0 lore raw

Hello, Fio.

How could I tell fio to don't write anything but last byte into
files used for jobs? I need to test random write to sparse files with read only from written parts (like dumb torrent clients does).

And why when I have N jobs with "filesize=2G-4G" all filesizes for
all jobs are equal?

Signature · 1 line
// Black Lion AKA Lev Serebryakov <[email protected]>
#1 lore raw

Hello Lev,
What happens if you pre-create the sparse files before you invoke
fio and then use the filename= argument to specify to fio to use your sparse files?

Quoted 10 lines · Lev Serebryakov

Hello, Fio.

How could I tell fio to don't write anything but last byte into
files used for jobs? I need to test random write to sparse files with read only from written parts (like dumb torrent clients does).

And why when I have N jobs with "filesize=2G-4G" all filesizes for
all jobs are equal?

Quoted 7 lines

--
// Black Lion AKA Lev Serebryakov <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Matthew Hayward
Director Professional Services
Delphix:
https://www.facebook.com/DelphixCorp
https://twitter.com/delphixcorp
M: 206.849.6389
275 Middlefield Road, Suite 50
Menlo Park, CA 94025
http://www.delphix.com

#2 lore raw

Hello, Matt.
You wrote 7 пїЅпїЅпїЅпїЅпїЅ 2013 пїЅ., 2:19:19:

MH> What happens if you pre-create the sparse files before you invoke
MH> fio and then use the filename= argument to specify to fio to use your MH> sparse files?
Good idea! I'll try it as soon as solve problem with assertion
(see my previous message).

Signature · 6 lines
// Black Lion AKA Lev Serebryakov <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html