Re: How to make printer print faster?

From: Marco Beishuizen (marco_at_beishuizen.info)
Date: 12/10/03

  • Next message: Cordula's Web: "Re: Console resolution"
    Date: Wed, 10 Dec 2003 12:13:52 +0100 (CET)
    To: Mark Terribile <materribile@yahoo.com>
    
    

    On stardate Wed, 10 Dec 2003, the wise Mark Terribile entered:

    > When something is slow, the first thing to learn is _why_ it is slow.
    > With it running, call up systat 1 -vmstat (systat-one-dash-vmstat) and
    > look at the bar graph from the lhs to the center of the display. If you
    > see lots of dashes or angle brackets, the problem is with user-level code
    > such as ghostscript . If you see lots of equal signs, then something in
    > the kernel (a driver?) is eating the time. If you see lots of plus signs,
    > then a lot of time is being spent fielding interrupts, which suggests that
    > the communication between the computer and the printer is not well handled.
    > (Parallel ports are horrible in this way.) If there is not a lot of CPU
    > being used, then the problem lies in the printer or in the precise
    > instructions is is being given -- or else in some other source of delay in
    > the computer. In an extreme case, heavy disk I/O could do this; you'll see
    > that in the display on the bottom left to bottom center.
    >
    > Once you know where the bottleneck is, or at least where it ISN'T, you
    > can look for the precise problem and the real fix.
    >
    > systat -vmstat may be the best thing a performance-concious developer
    > will find in FreeBSD. Apart, that is, from a system which wants to run
    > fast if only you'll let it.

    I did the test:
    - When ps is busy processing the document, a lot of angle brackets are
    visible in the middle of the graph (under user). But only for a second or
    two.
    - When the data is sent to the printer, a split second one plus sign is
    visible under sys.

    After that everything returns to "normal" as if nothing is busy and the
    data is being sent to the printer and the printer starts printing.

    At first I thought the bottleneck is the speed of my network and the speed
    the data is sent tot the printer. But it has to be something else because
    when I attach a laptop to my network (with Win2000) it's printing 10 ppm.

    I got the impression that the printer is processing the data coming from
    Windows a lot faster than when the data is coming from FreeBSD.

    Marco

    -- 
    A [golf] ball hitting a tree shall be deemed not to have hit the tree.
    Hitting a tree is simply bad luck and has no place in a scientific
    game.  The player should estimate the distance the ball would have
    traveled if it had not hit the tree and play the ball from there,
    preferably atop a nice firm tuft of grass.
    		-- Donald A. Metz
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Cordula's Web: "Re: Console resolution"

    Relevant Pages

    • Re: The Rose Bowl (nbc)
      ... wait a prescribed amount of time in order to snap the ball for the extra ... came to a par 5 hole with a dogleg to the right. ... to a free drop off the cartpath; however, there are two separate groups of ... the fairway about 80 yards from the green; however, this palm tree has two ...
      (rec.music.artists.springsteen)
    • Re: Free Drop - rules question
      ... Hit the ball into GUR on a shortish dog leg left par 4. ... The ball had come to rest under a largish bushy tree that had branches ... the ground under repair is part of the ground under repair." ...
      (rec.sport.golf)
    • Re: Free Drop - rules question
      ... Hit the ball into GUR on a shortish dog leg left par 4. ... The ball had come to rest under a largish bushy tree that had branches ... the ground under repair is part of the ground under repair." ...
      (rec.sport.golf)
    • Re: Wrist Rocket Height
      ... It's not so much a "point above a crotch in the tree and hope the ball ... that for me the tennis ball launcher was far and away the best ...
      (rec.radio.amateur.antenna)
    • Re: Suggestions for hierarchical display of data
      ... You could put DataList/Grid on the right side of the tree view without any ... But beside that you could always make a Custom control... ... > Hi Robert, ... >> hierarchical display of data. ...
      (microsoft.public.dotnet.framework.aspnet.webcontrols)