UFS within UFS



Hi Gurus,

I have a system here that has mounted partions for some users to upload
their data. Each user has a fixed space in which they can upload their data.
Users sftp into a chrooted environment to upload their data. One user (my
boss) wants extra space in his area to upload his data. I tried to link a
directory which had enough space from within his work directory, but it will
not work because it is a chrooted environment and he cannot traverse down
the link. I had no other partitions free to mount it onto his work area. So
I thought I had a brilliant idea and proceeded to create a filesystem within
a filesystem and have it mounted to a subdirectory in his work area. Here is
what I did:

There is about 50g free in /usr1

# mkfile 50g /usr1/newpart.ufs
# lofiadm -a /usr1/newpart.ufs
# newfs /dev/rlofi/1
# mounst /dev/lofi/1 /<my boss's work area>/temp

All this worked fine. However there is a big performance hit. Using Bonnie I
tried to test IO on a space of 1Gb and get te following result

-------Sequential Output-------- ---Sequential Input--
--Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec
%CPU
1024 326 0.7 327 0.2 437 0.6 11973 36.7 148240 85.0 432.8
1.6

Just a few hundred K/sec? That's not acceptable. Doing the same test on a
normal partition yields

-------Sequential Output-------- ---Sequential Input--
--Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec
%CPU
1024 35563 77.2 40732 25.4 30640 33.2 33897 99.9 213579 96.5
31582.6 165.8

What explains this poor performance? How can I improve performance on the
new mount point? Am I missing something?

Thanks in advance

--SF
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • SUMMARY: UFS within UFS
    ... My boss is smiling again. ... Each user has a fixed space in which they can upload their data. ... I had no other partitions free to mount it onto his work area. ... %CPU ...
    (SunManagers)
  • Re: How do I publish a single page of my 30 page website?
    ... I would guess that you have a design element on page 6 that is straddling ... the work area and the scratch area. ... How to trouble-shoot Publisher web upload issues ...
    (microsoft.public.publisher.webdesign)
  • Re: For John Inzer---->SUCCESS & another question :)
    ... a collage done and tried to upload it for copies and it wouldn't upload ... > in your work area. ... To resize it you would go to: ... > Digital Image Support Center ...
    (microsoft.public.windowsxp.photos)
  • Re: computer getting slow for not the usual reasons
    ... I just checked my CPU temp and it ran between 92 and 66. ... Singapore Web Hosting ... One thing that I can not do anymore at all is upload videos to youtube. ...
    (microsoft.public.windowsxp.general)
  • Re: compiling a Lisp source to exe
    ... Given connections between 100 mbit/s and 10 gbit/s. ... For editing/processing large files local machines will remain ... CPU and/or internet bandwidth is needed. ... Even without a PhotoshopOnline it makes sense for users to upload ...
    (comp.lang.lisp)