Elastic Quota
Elastic Quota
Elastic Quota
System (EQFS)
DepartmentofComputer
D.Y.PatilCollegeofEngg.
AmitGud
NileshChoudhary
Introduction
TypicalNetworkScenario
Differenttypesofuserswithdifferentneeds
Variablequotausage
Notpracticaltosetdifferentquotalimitsforlargenumberof
users
Lossofuserspaceifusersdonotusethequotaallocatedto
themeffectively
Noflexibilty
Some Statistics
At95%ofthetimesalltheusersdon'tuse100%of
theirquota
47%oftheusersuse60%oftheirquota
22%oftheusersuselessthan15%oftheirquota
Source:basedonastudyresultsbyBCCInc.onpopularemailservices
What is EQFS?
EQFSisElasticQuotaFileSystem
EQFS:
Providescontrolledflexibilityforuserstoeffectiveyusemore
thantheallocatedquota
Handlesvariablequotausage
Eliminatestheneedtoassigndifferentquotalimitsforusers
withvariableneeds
Providesdisklimitsforanetworkirrespectiveofanyuser
quota
Postponesdeletionoffilesoncrossingthequotalimit
Extendsthequotalimitonrequirementbyallocatingfree
unuseduserspace
How it works?
10
User2
Free
User1
User1
User2
User1
User2
Free
Elastic
10
User1
User1
10
User2
How it works?
User3
User1
10
10
User2
Elastic
User1
Free
User1
User2
What is EQFS?
EQFSisElasticQuotaFileSystem
EQFS:
Providescontrolledflexibilityforuserstoeffectiveyusemore
thantheallocatedquota
Handlesvariablequotausage
Eliminatestheneedtoassigndifferentquotalimitsforusers
withvariableneeds
Providesdisklimitsforanetworkirrespectiveofanyuser
quota
Postponesdeletionoffilesoncrossingthequotalimit
Extendsthequotalimitonrequirementbyallocatingfree
unuseduserspace
EQFS Operation
Elasticfiles
Whentomakefileselastic
Whenquotaisfullandyouneedadditionalspace
Whathappenswhenafileismadeelastic
Owner'squotaisincreasedbyamountofthatfile'ssize
Thatelasticfilebelongstothesameowner
Theadditionalspaceistakenfromothersunusedspace(0.95)
Whichfilestomakeelastic
Fileswithlessimportance
Temporaryfiles
Riskinvolved
Whenthethresholds(user,disk,group)arereached,theelasticfiles
areacteduponasperthepolicyset(0.05)
Where is EQFS?
EQFSisathinfilesystemlayeraboveVFS
Kernel
EQFS
VFS
Underlying
File
System
EQFS Architecture
KernelSpace
Kernel
module
UserSpace
CharDevice
Mel
VFS
EQFS
Daemon
Rel
DB
(GDBM)
Thresholds
EQFSworksaround3Thresholds
UserThreshold
DiskThreshold
GroupThreshold
Thresholds contd...
USERS
Grouptemp
Group
Staff
Group
thresholds
Groupswith
singleuser
Userthreshold
Group
Student
EQFS Commands
EQFSprovidesfollowingcommandsfortheuser
Melmakeelastic
syntax:#mel<filename><operation>[parameter]
filename:pathtothefile
operation:actiontobetakenonthefile
parameter:destinationincaseofmove&compress
Relremoveelastic
syntax:#rel<filename>
SelShowelastic
syntax:#sel
Short
Int
Long
Float
Double
Add
Div
2354400
29160
2215568
30119
2271768
30708
766800 129000
766800 125400
Mult
346830
394525
375312
432000
461077
Disk/FileSystem/IO(persecond)
Dirsearches
Copy
SeqRead
Create/Close
34950
56945
247048
142300
Kb
Kb
files
Short
Int
Long
Float
Double
Add
Div
2354308
29605
2215448
30106
2271429
30746
766670 128920
766650 125379
Mult
346826
394522
375309
431969
461075
Disk/FileSystem/IO(persecond)
Dirsearches
Copy
SeqRead
Create/Close
34946
56940
247044
142229
Kb
Kb
files
Advantages
EQFSmaximisestheserverspaceutilization
fortheusers
EQFSmeetsthevariablequotaneeds
Transparentreclaimingmechanism
Avoidtheindividualallocationofquotaforuserswithdifferent
needs,whichisnotpracticalwherethenumberofusersarelarge
Handlesthegroupquotasandkeepstheoverallusagewithin
checkwithoutinternalinterference
Postponesthedeletionoffilesunlessthethresholdisreached
Advantages contd...
EQFSis
Independentoftheunderlyingfilesystem
Workswiththestandardquotasystem(libquota,edquota)
LowCPUusage
Transparenttotheuser
Thank You!
FurtherInfo:eqfs.sourceforge.net
Questions