Imaging Multiple Computer - Slow Boot File Transfer

When imaging say 15 computers, the SCCM 2012 boot file transfer is slow.  Is this normal or some setting that needs to be set to fix this?  Thanks.

If you are running R2, do you have this fix applied? 
http://support.microsoft.com/kb/2905002/en-us
You can also try to adjust the TFTP block size to speed it up. 
http://support.microsoft.com/kb/975710/en-us
Or you can try to use multicast to speed up many machines.  I'm pretty sure it only applies to OS and not the boot image. 
http://technet.microsoft.com/en-us/library/hh397406.aspx
Best, Jacob I'm a PC.

Similar Messages

  • New to MacBook - slow LAN file transfer problem

    My new MacBook is painfully slow when wifi-ing to my house LAN.
    I turned in my old G4 iBook for a MacBook (2GHz C2D, 2GB, 10.4.9, all updates). I have a LAN that consists of a wired 1G Ethernet backbone (a Mini and a Powermac G5 are wired in) and a Snow AEB that provides 802.11g wifi access to the LAN. The wired LAN connects to a D-Link GB Ethernet switch so the wired systems can exchange files fast. The switch connects to a D-Link EBR2310 router that connects to a cable modem to ComCast. The router has the latest firmware (1.05, it's an 'A' version router).
    The Mini, G5, and MB are static IPs on the LAN. The D-Link router passes out DHCP addresses >100, with addresses <101 reserved for static LAN IPs. I use static IPs for network reliability when recovering from power outages and other unforeseen glitches. The LAN has worked very well in this configuration, with fast file transfers among machines and good stability.
    With my old 802.11g G4 iBook, I was able to watch DVDs that are stored on an external FW drive connected to the Mini. No stalls, no pauses, no dropouts - MenuMeters showed an average throughput of about 700KBytes/sec on the iBook when viewing a DVD. I used both VLC and DVD Player with good results.
    With my new MacBook, I can't view my DVD files. 802.11g network transfer rates to the MB (indicated by MenuMeters and by Activity Monitor) vary rapidly from a high of about 1.1 MBytes/sec to 20 KBytes/sec. Movies stall, skip, etc.
    Simple file copies from one system to another are also much slower with the MacBook - an average of ~100KBytes/sec vs. ~ 1.5 MBytes/sec with my old iBook. In short, the MacBook is dog-slow in file transfers from the other machines compared with my old iBook when using the wifi connection, with no change to the network infrastructure in going from the old laptop to the new. I would like to fix this.
    My AEB is set up in bridge mode (simple access point) with WPA2 security. All three Macs are completely current with latest updates, as is the Snow AEB. The MB has 4 bars of signal strength. Slow file transfer problem does not change when moving the MB to or from the AEB.
    Curiously, when I download a large file (like the Intel 10.4.9 combo update), the MB shows a steady ~800KBytes/sec download speed, with none of the speed variation it shows with file transfers from either the Mini or the G5. File transfers to/from the MB to either of the other Macs are very slow.
    Both the Mini and the G5 have Airport cards: when I switch them from wired Ethernet LAN to wifi LAN, they transfer files between each other at ~ 2MBytes/sec - about what you'd expect from an 802.11g protocol. So the slow file transfer doesn't seem to be due to the AEB, it seems to be specific to the MacBook. When I connect the MB using its hardware Ethernet port, files transfer just as fast as the other systems.
    I have tried these measures, without effect on the problem:
    - power off/restart of every component in the system;
    - changing the AEB to an open network mode;
    - changing the MB from static IP to DHCP;
    - toggling IPv6 on/off;
    - running no applications other than Finder on all systems;
    Activity Monitor on the MB doesn't show anything sucking up CPU cycles during file transfers. I have plenty of RAM. The only thing I've changed in the network is the swap of the iBook for the MacBook.
    Can anyone suggest what else I can try to make acquisition of this nice shiny MacBook a step forward, rather than a step back? Thank you!
    G5 DP 1.8, Mini CD1.83 GHz, MacBook C2D,2GHz   Mac OS X (10.4.9)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  

    Hi,
    Did you want to use the Live Migrations for that?
    We recommend that you configure separate dedicated networks with gigabit or faster speed for live migration traffic and cluster communication, and these networks should be separate from the network used by the management operating system, and from the network
    used by the virtual machines.
    For more and detail information, please refer to:
    http://technet.microsoft.com/en-us/library/ff428137(WS.10).aspx
    Regards.
    Vivian Wang

  • TC - Painfully Slow for file transfer. How to solve it (PC + MAC) ?

    I have a dell laptop and a mac book air, both connected to my TC. Transferring files is a joke. I am a novei mac user. How can this slowness issue be fixed for both the pc and mac? As I am writing this, i am currently doing a software update on my macbook air, getting 10.5.3 now. Does this solve it?

    Similar problem here.
    iMac using 802.11n to connect to time capsule. Time capsule configured to use 802.11n (b/g compat), and WPA/WPA2 security.
    Typical transfer rate (file transfer from imac to tc) of about 2Mbps. After reboot of the TC, speed can sometimes hit 6Mbps.
    I have played with the security settings. After a softboot with new config:
    - no security, 802.11n mode: 12Mbps throughput
    - WEP security, 802.11n mode: 8Mbps
    - WPA/WPA2 security, 802.11n mode: 6Mbps
    Enabling interference robustness seems to have little or no effect.
    All of these speeds are significantly lower than what I'd expect.
    No other devices were on the wireless network during the testing.
    I've read that alot of others are having similar issues. I suspect that most of these devices are running extremely slowly, but most people aren't bothering to check throughput.
    Would love to know if there is a real fix out there. 802.11n should be much much faster than this. If I could reconfigure the TC to use 802.11g, I would.

  • Slow large file transfer speed with LaCie 1T firewire 800 drives

    I am transferring two large files (201gb and 95gb) from one LaCie 1T firewire external drives to another one (using separate connections to a PCI Express firewire 800 card in my Quad G5. The transfer time is incredibly slow – over for hours for the 201gb file and over 2 hours for the 95gb file.
    Does anyone have any ideas why this is so slow or what I might try to speed up the transfer rates?
    Thank you.
    G5 Quad 2.5 8GB DDR2 SDRAM two SATA 400GB   Mac OS X (10.4.5)  

    You posted this in the Powerbook discussion forum. You may want to post it in the Power Mac G5 area, located at http://discussions.apple.com/category.jspa?categoryID=108

  • Very slow network file transfer speeds with WRT310 + Powerline PLS300

    Hi guys-Thanks for looking!
    I have Charter hi-speed (10MBS) with my wireless N router (WRT310).  Connected to my router is the PLE300 Linksys powerline adapter.  I have two PLS300 powerline adapters.  One feeds my computer and my wife's computer in the den and the other feeds the playstation, xbox, NAS Black Armor media server in the media room. 
    In running speed tests online, I get >10 MBS on both ends of the powerline adapters so surfing the internet is very fast on both ends.  I also have very fast file transfers from my wife's computer to my computer across the same PLS300 adapter
    However, in transfering files to my media server from my computers, I get speeds of 500 kbs.  If I try to stream video files (non-HD) to my PS3, the video stutters to where it is unwatchable.  I have also tried to bypass the powerline adapter by just using a wireless N gaming adapter and that yielded similar slow results.
    I am running Windows 7 on both computers.  I have removed the firewalls and McAfee. 
    Again, thanks for looking and happy new year!

    Reduce the MTU to 1350 on the router and check if that helps...

  • Multiple computer slowing my connection down?

    I'm using a Linksys E1500 on my Timewarner 20Mbs connection and I've noticed that anytime another computer on my network connects my connection speed take a significant drop.  This happens when Macs or PCs connect and there doesn't seem to be any common ground between any of them.  In addition the connection is slow wether the other PCs are idle or downloading anything, it seems to make no difference.  my ping in any game drops from 70 to 500 just for 2 other PC being on at the saem time on the network. 
    When mine is the only one on I get the full 20Mbs speed and notice no problems at all.  What could be the issue here?  Did I possibly configure something wrong?  Or do I need a new router?
    Solved!
    Go to Solution.

    Is this issue only happening on the wireless devices? Test if the wired connection drops when you have wireless devices connected to your network. Are you running the latest firmware on your E1500? The problem is most likely firmware related. Get the latest version from the E1500 Support Page.

  • Very slow network file transfer speeds

    We just moved and I've now connected our imac and macbook to our network.  This time rather than running cables I thought we'd run the imac and the macbook off of our airport extreme.  After a bit of repositioning and fiddling I've got a strong signal throughout the house and the internet connection is great.  The problem I'm having though is network file transfers are really, really slow.  I can't get anything over 2MB/sec on either mac, and it is way slower on the macbook than it was previously.  From NetStat it looks like there are some bad connections and overflows, is there anything here that might point to a problem?  Thanks in advance for any suggestions.  NetStat results for tcp:
    tcp:
              2008646 packets sent
                        493362 data packets (220223075 bytes)
                        614 data packets (581572 bytes) retransmitted
                        0 resends initiated by MTU discovery
                        1209277 ack-only packets (660 delayed)
                        0 URG only packets
                        0 window probe packets
                        287951 window update packets
                        17519 control packets
                        0 data packets sent after flow control
              4266748 packets received
                        445311 acks (for 219872269 bytes)
                        6482 duplicate acks
                        0 acks for unsent data
                        3963598 packets (916287602 bytes) received in-sequence
                        833 completely duplicate packets (462217 bytes)
                        21 old duplicate packets
                        0 packets with some dup. data (0 bytes duped)
                        41154 out-of-order packets (54419239 bytes)
                        0 packets (0 bytes) of data after window
                        0 window probes
                        778 window update packets
                        388 packets received after close
                        0 bad resets
                        2 discarded for bad checksums
                        0 discarded for bad header offset fields
                        0 discarded because packet too short
              10085 connection requests
              322 connection accepts
              11 bad connection attempts
              21 listen queue overflows
              7976 connections established (including accepts)
              10720 connections closed (including 654 drops)
                        385 connections updated cached RTT on close
                        385 connections updated cached RTT variance on close
                        99 connections updated cached ssthresh on close
              2218 embryonic connections dropped
              444482 segments updated rtt (of 414903 attempts)
              2348 retransmit timeouts
                        61 connections dropped by rexmit timeout
                        0 connections dropped after retransmitting FIN
              4 persist timeouts
                        0 connections dropped by persist timeout
              39 keepalive timeouts
                        0 keepalive probes sent
                        29 connections dropped by keepalive
              11651 correct ACK header predictions
              3699704 correct data packet header predictions
              37 SACK recovery episodes
              176 segment rexmits in SACK recovery episodes
              228486 byte rexmits in SACK recovery episodes
              1598 SACK options (SACK blocks) received
              35961 SACK options (SACK blocks) sent
              0 SACK scoreboard overflow

    help?

  • Windows 7 network file transfer absurdly slow

    I know there are plenty of other posts about slow network file transfer. Here, elsewhere, I can't say I read them all but most are referring to slow down to 1MB/s.
    I am getting <20KB/s.
    If I transfer a very small file (less than 100KB) it would start quickly then slow down to <20KB/s. all subsequently network file transfer would be slow, a reboot is needed to reset this. If I transfer a large file it would be stuck on calculating for
    a long time and then begin with <20KB/s immediately.
    This is a fairly newly built desktop. Realtek gigabit on-board LAN of ASRock Extreme3 gen3. I have tested network file transfer to and from a Windows 7 laptop and a MacBook Pro, so I am fairly certain it is the desktop's problem. The slow speed only happens
    with one direction, outbound from the desktop, regardless of whether I initiate the file transfer action from the origin or the destination. Inbound network file transfer and internet speeds are fine, so I don't think this is a hardware issue.
    Remote Differential Compression is off. Drivers are up-to-date from ASRock's website. I am getting 74.8MB/s internet upload speed from speedtest.net (http://www.speedtest.net/result/1852752479.png). Inbound network file transfer I can get around 10-15MB/s.
    I looked everywhere and can't find symptoms that fits my case well. I'd be cheering if I can get 1MB/s. Well, maybe not, but at this point it is more efficient for me to upload everything to the Internet and download them again than to use local file transfer,
    which is just absurd.
    I am hoping this community has some insight for me to troubleshoot this. I don't see anything obviously related from the Event Viewer, and beyond that I just don't know where else to look.
    Any suggestions are greatly appreciated, thank you in advance.

    Hi,
    Firstly, would you please try again to install the HotFix instead of disabling TCPAuto-Tuning and Windows Scaling heuristics via netsh manually.
    If issue persists, please try following:
    1. Test the issue in Safe Mode with Networking.
    2. Disable "Large Send Offload".
    How to:
    1) Open an elevated command prompt and press Enter:
    netsh int ip set global taskoffload=disabled.
    2) Disable and re-enable the network interface or reboot your system. 
    3) Run the following command in an elevated command prompt to confirm the command above is successful:
    netsh int ip show offload
    3. Check the value of “Speed & Duplex” is Auto in Advanced Properties of the NIC. If not, please let us know your value.
    4. Check if “Flow Control” is disabled in Advanced Properties of your NIC.
    5. Go to your Start Menu, search for “Local Security Policy“ and run it as administrator. Under Security Settings -> Local Policies -> Security Options.
    1) Open “Network security:Minimum session security for NTLM SSP (including RPC based) Clients”,
    unselect “Require NTLMv2 session security” and “Require 128-bit encryption”.
    2) Do the same operation to “Network security:Minimum session security for NTLM SSP (including RPC based) Servers”.
    3) Open
    the policy “Network Security LAN Manager authentication level“. Locate and select the option “Send LM & NTLM – use NTLMv2 session security if negotiated“. Click Apply, and close out of all
    policy management windows.
    Hope this helps.
    If a post solved your problem, click “Mark as Answer” on the post. If a post helped you, click "Vote As Helpful" on the left side of post.

  • How to increase the speed of network file transfer

    hi ,
    In my application i want to use the file from one system to another system.
    i am using stream reader to get the file over the network , its working fine for small file,
    but i want to access file size exceed 10 MB then i faced the problem. Its get very slow the file transfer over the network.
    so i am try to use java NIO for transfer file,
    Using NIO , While i am make server and client both are same system then the file tranfer is 10MB file in 10 seconds , but i am making server and client are different machine then its take so long to transfer file ie (10 MB file in 3 minutes).
    I want to reduce the time . If any chance to reduced the file transfer time then please suggest me.
    my code is
    Server Code :
    public class NioServer implements Runnable {
      // The host:port combination to listen on
      private InetAddress hostAddress;
      private int port;
      // The channel on which we'll accept connections
      private ServerSocketChannel serverChannel;
      // The selector we'll be monitoring
      private Selector selector;
      // The buffer into which we'll read data when it's available
      private ByteBuffer readBuffer = ByteBuffer.allocate(10000);
      private EchoWorker worker;
      // A list of PendingChange instances
      private List pendingChanges = new LinkedList();
      // Maps a SocketChannel to a list of ByteBuffer instances
      private Map pendingData = new HashMap();
      public NioServer(InetAddress hostAddress, int port, EchoWorker worker) throws IOException {
        this.hostAddress = hostAddress;
        this.port = port;
        this.selector = this.initSelector();
        this.worker = worker;
      public void send(SocketChannel socket, byte[] data) {
        System.out.println("Server Send ");
        synchronized (this.pendingChanges) {
          // Indicate we want the interest ops set changed
          this.pendingChanges.add(new ChangeRequest(socket, ChangeRequest.CHANGEOPS, SelectionKey.OP_WRITE));
          // And queue the data we want written
          synchronized (this.pendingData) {
            List queue = (List) this.pendingData.get(socket);
            if (queue == null) {
              queue = new ArrayList();
              this.pendingData.put(socket, queue);
            queue.add(ByteBuffer.wrap(data));
        // Finally, wake up our selecting thread so it can make the required changes
        this.selector.wakeup();
      public void run() {
        while (true) {
          try {
            // Process any pending changes
            synchronized (this.pendingChanges) {
              Iterator changes = this.pendingChanges.iterator();
              while (changes.hasNext()) {
                ChangeRequest change = (ChangeRequest) changes.next();
                switch (change.type) {
                case ChangeRequest.CHANGEOPS:
                  SelectionKey key = change.socket.keyFor(this.selector);
                  key.interestOps(change.ops);
              this.pendingChanges.clear();
            // Wait for an event one of the registered channels
            this.selector.select();
            // Iterate over the set of keys for which events are available
            Iterator selectedKeys = this.selector.selectedKeys().iterator();
            while (selectedKeys.hasNext()) {
              SelectionKey key = (SelectionKey) selectedKeys.next();
              selectedKeys.remove();
              if (!key.isValid()) {
                continue;
              // Check what event is available and deal with it
              if (key.isAcceptable()) {
                this.accept(key);
              } else if (key.isReadable()) {
                this.read(key);
              } else if (key.isWritable()) {
                this.write(key);
          } catch (Exception e) {
            e.printStackTrace();
      private void accept(SelectionKey key) throws IOException {
        System.out.println("Server Accept ");
        // For an accept to be pending the channel must be a server socket channel.
        ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();
        // Accept the connection and make it non-blocking
        SocketChannel socketChannel = serverSocketChannel.accept();
        Socket socket = socketChannel.socket();
        socketChannel.configureBlocking(false);
        // Register the new SocketChannel with our Selector, indicating
        // we'd like to be notified when there's data waiting to be read
        socketChannel.register(this.selector, SelectionKey.OP_READ);
      private void read(SelectionKey key) throws IOException {
        System.out.println("server Read : ");
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Clear out our read buffer so it's ready for new data
        readBuffer.clear();
    //    readFully( readBuffer , socketChannel ) ;
        // Attempt to read off the channel
        int numRead;
        try {
          numRead = socketChannel.read(readBuffer);
        } catch (IOException e) {
          // The remote forcibly closed the connection, cancel
          // the selection key and close the channel.
          key.cancel();
          socketChannel.close();
          return;
        if (numRead == -1) {
          // Remote entity shut the socket down cleanly. Do the
          // same from our end and cancel the channel.
          key.channel().close();
          key.cancel();
          return;
        // Hand the data off to our worker thread
        this.worker.processData(this, socketChannel, this.readBuffer.array(), numRead);
      private void write(SelectionKey key) throws IOException {
        System.out.println("Server Write ");
        SocketChannel socketChannel = (SocketChannel) key.channel();
        synchronized (this.pendingData) {
          List queue = (List) this.pendingData.get(socketChannel);
          // Write until there's not more data ...
          while (!queue.isEmpty()) {
            ByteBuffer buf = (ByteBuffer) queue.get(0);
            socketChannel.write(buf);
            if (buf.remaining() > 0) {
              System.out.println( "buf.remaining() " + buf.remaining() ) ;
              // ... or the socket's buffer fills up
              break;
            queue.remove(0);
          if (queue.isEmpty()) {
            // We wrote away all data, so we're no longer interested
            // in writing on this socket. Switch back to waiting for
            // data.
            key.interestOps(SelectionKey.OP_READ);
      private Selector initSelector() throws IOException {
        // Create a new selector
        Selector socketSelector = SelectorProvider.provider().openSelector();
        // Create a new non-blocking server socket channel
        this.serverChannel = ServerSocketChannel.open();
        serverChannel.configureBlocking(false);
        // Bind the server socket to the specified address and port
        InetSocketAddress isa = new InetSocketAddress(this.hostAddress, this.port);
        serverChannel.socket().bind(isa);
        // Register the server socket channel, indicating an interest in
        // accepting new connections
        serverChannel.register(socketSelector, SelectionKey.OP_ACCEPT);
        return socketSelector;
      private static void readFully(ByteBuffer buf, SocketChannel socket) throws IOException
        int len = buf.limit() - buf.position();
        while (len > 0)
          len -= socket.read(buf);
      public static void main(String[] args) {
        try {
          EchoWorker worker = new EchoWorker();
          new Thread(worker).start();
          new Thread(new NioServer(null, 9090, worker)).start();
        } catch (IOException e) {
          e.printStackTrace();
    }Client Code :
    public class NioClient implements Runnable {
      // The host:port combination to connect to
      private InetAddress hostAddress;
      private int port;
      // The selector we'll be monitoring
      private Selector selector;
      // The buffer into which we'll read data when it's available
      private ByteBuffer readBuffer = ByteBuffer.allocate( 10596 ) ;
      // A list of PendingChange instances
      private List pendingChanges = new LinkedList();
      // Maps a SocketChannel to a list of ByteBuffer instances
      private Map pendingData = new HashMap();
      private byte[] bufferByteA = null ;
      // Maps a SocketChannel to a RspHandler
      private Map rspHandlers = Collections.synchronizedMap(new HashMap());
      public NioClient(InetAddress hostAddress, int port) throws IOException {
        this.hostAddress = hostAddress;
        this.port = port;
        this.selector = this.initSelector();
      public void send(byte[] data, RspHandler handler) throws IOException {
        // Start a new connection
        SocketChannel socket = this.initiateConnection();
        // Register the response handler
        this.rspHandlers.put(socket, handler);
        // And queue the data we want written
        synchronized (this.pendingData) {
          List queue = (List) this.pendingData.get(socket);
          if (queue == null) {
            queue = new ArrayList();
            this.pendingData.put(socket, queue);
          queue.add(ByteBuffer.wrap(data));
        // Finally, wake up our selecting thread so it can make the required changes
        this.selector.wakeup();
      public void run()
        while (true)
          try
            // Process any pending changes
            synchronized (this.pendingChanges)
              Iterator changes = this.pendingChanges.iterator();
              while (changes.hasNext())
                ChangeRequest change = (ChangeRequest) changes.next();
                switch (change.type)
                  case ChangeRequest.CHANGEOPS:
                    SelectionKey key = change.socket.keyFor(this.selector);
                    key.interestOps(change.ops);
                    break;
                  case ChangeRequest.REGISTER:
                    change.socket.register(this.selector, change.ops);
                    break;
              this.pendingChanges.clear();
            // Wait for an event one of the registered channels
            this.selector.select();
            // Iterate over the set of keys for which events are available
            Iterator selectedKeys = this.selector.selectedKeys().iterator();
            while (selectedKeys.hasNext())
            System.out.println( " ----run 5 " ) ;
              SelectionKey key = (SelectionKey) selectedKeys.next();
              selectedKeys.remove();
              if (!key.isValid())
                continue;
              // Check what event is available and deal with it
              if (key.isConnectable())
                this.finishConnection(key);
              else if (key.isReadable())
                this.read(key);
              else if (key.isWritable())
                this.write(key);
          catch (Exception e)
            e.printStackTrace();
      private void read(SelectionKey key) throws IOException {
        System.out.println( "---------read 1 " ) ;
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Clear out our read buffer so it's ready for new data
        this.readBuffer.clear();
        System.out.println( "---------read 2 " + readBuffer.capacity()) ;
         readBuffer = ByteBuffer.allocate( bufferByteA.length  ) ;
        // Attempt to read off the channel
    //    int numRead;
        try {
    //      numRead = socketChannel.read(this.readBuffer);
          readFully( readBuffer , socketChannel ) ;
        } catch (IOException e) {
          // The remote forcibly closed the connection, cancel
          // the selection key and close the channel.
          key.cancel();
          socketChannel.close();
          return;
    //    if (numRead == -1) {
    //      // Remote entity shut the socket down cleanly. Do the
    //      // same from our end and cancel the channel.
    //      key.channel().close();
    //      key.cancel();
    //      return;
        // Handle the response
        this.handleResponse(socketChannel, this.readBuffer.array(), readBuffer.capacity() );
      private void handleResponse(SocketChannel socketChannel, byte[] data, int numRead) throws IOException {
        // Make a correctly sized copy of the data before handing it
        // to the client
        byte[] rspData = new byte[numRead];
        // Look up the handler for this channel
        RspHandler handler = (RspHandler) this.rspHandlers.get(socketChannel);
        // And pass the response to it
        if (handler.handleResponse(rspData)) {
          // The handler has seen enough, close the connection
          socketChannel.close();
          socketChannel.keyFor(this.selector).cancel();
      private void write(SelectionKey key) throws IOException {
        SocketChannel socketChannel = (SocketChannel) key.channel();
        readBuffer.flip() ;
        List queue = null ;
        synchronized (this.pendingData) {
          queue = (List) this.pendingData.get(socketChannel);
          writeFully( readBuffer , socketChannel ) ;
          // Write until there's not more data ...
          while (!queue.isEmpty()) {
    //        ByteBuffer buf = (ByteBuffer) queue.get(0);
    //        socketChannel.write(buf);
    //        writeFully( buf , socketChannel ) ;
    //        if (buf.remaining() > 0) {
    //          // ... or the socket's buffer fills up
    //          break;
            queue.remove(0);
          if (queue.isEmpty()) {
            // We wrote away all data, so we're no longer interested
            // in writing on this socket. Switch back to waiting for
            // data.
            key.interestOps(SelectionKey.OP_READ);
      private void finishConnection(SelectionKey key) throws IOException {
        SocketChannel socketChannel = (SocketChannel) key.channel();
        // Finish the connection. If the connection operation failed
        // this will raise an IOException.
        try {
          socketChannel.finishConnect();
        } catch (IOException e) {
          // Cancel the channel's registration with our selector
          System.out.println(e);
          key.cancel();
          return;
        // Register an interest in writing on this channel
        key.interestOps(SelectionKey.OP_WRITE);
      private SocketChannel initiateConnection() throws IOException {
        // Create a non-blocking socket channel
        SocketChannel socketChannel = SocketChannel.open();
        socketChannel.configureBlocking(false);
        // Kick off connection establishment
        socketChannel.connect(new InetSocketAddress(this.hostAddress, this.port));
    //    socketChannel.finishConnect() ;
        // Queue a channel registration since the caller is not the
        // selecting thread. As part of the registration we'll register
        // an interest in connection events. These are raised when a channel
        // is ready to complete connection establishment.
        synchronized(this.pendingChanges) {
          this.pendingChanges.add(new ChangeRequest(socketChannel, ChangeRequest.REGISTER, SelectionKey.OP_CONNECT));
        return socketChannel;
      private Selector initSelector() throws IOException {
        // Create a new selector
        return SelectorProvider.provider().openSelector();
      public static void main(String[] args) {
        try {
          NioClient client = new NioClient(InetAddress.getByName("healsoft1"), 9090);
          Thread t = new Thread(client);
          t.setDaemon(true);
          t.start();
          RspHandler handler = new RspHandler();
          client.readBytesFromFile( handler ) ;
        } catch (Exception e) {
          e.printStackTrace();
      private void readBytesFromFile( RspHandler handler ) throws IOException
        File file = new File( "Y:/output.txt") ;
        bufferByteA = getBytesFromFile( file ) ;
        readBuffer = ByteBuffer.allocate(bufferByteA.length ) ;
        readBuffer.put( bufferByteA , 0 , bufferByteA.length ) ;
        send(bufferByteA , handler);
        handler.waitForResponse();
      private static void readFully(ByteBuffer buf, SocketChannel socket) throws IOException
        System.out.println( "readFully  : " ) ;
        int len = buf.limit() - buf.position();
        int count = 0 ;
        while (len > 0)
          len -= socket.read(buf);
      private void writeFully(ByteBuffer buf , SocketChannel socketChannel) throws IOException
        System.out.println( "writeFully  : " ) ;
        int len = buf.limit() - buf.position() ;
        SocketChannel socket = socketChannel ;
        socket.open();
        while (len > 0)
          len -= socket.write(buf);
      private static byte[] getBytesFromFile(File file) throws IOException
        InputStream is = new FileInputStream(file);
        // Get the size of the file
        long length = file.length();
             * You cannot create an array using a long type. It needs to be an int
             * type. Before converting to an int type, check to ensure that file is
             * not loarger than Integer.MAX_VALUE;
        if (length > Integer.MAX_VALUE)
          System.out.println("File is too large to process");
          return null;
        // Create the byte array to hold the data
        byte[] bytes = new byte[(int)length];
        // Read in the bytes
        int offset = 0;
        int numRead = 0;
        while ( (offset < bytes.length)
                ( (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) )
                offset += numRead;
        // Ensure all the bytes have been read in
        if (offset < bytes.length)
          throw new IOException("Could not completely read file " + file.getName());
        is.close();
        return bytes;
      public static String printTimeWithMilliSec(long l )
        Date date = new Date( l ) ;
        SimpleDateFormat f = new SimpleDateFormat("HH:mm:ss SSS");
        return f.format(date);
    }

    Data transfer rate for a single client is unlikely to be effected by using NIO or old blocking IO. The important factor is the maximum transfer rate you can get between the sender and receiver.
    You should be able to get 0.5-1.0 MB per second for each 10 Mbit per second of available bandwidth. Your timings suggest you are getting about a 10-20 Mbit/s link speed.

  • MBP (mid-2009) freezing, slow installations and file transfer

    I bought the latest MacBook Pro model and installed Snow Leopard on a cleanly formatted hard drive. I have tried migrating via ethernet and FireWire from my iMac, but the migrations failed either due to freezing (via FireWire after roughly 24 hours of file transfer) or by an error message (ethernet with Migration Assistant).
    Only through a Time Machine backup was I able to transfer my account files to the MBP, which again totaled at over 20 hours of transferring. The system was a mess, clogged constantly by freezing and spinning beach balls of death for durations lasting around 10-20 seconds during which music would clip after 5-10 seconds of everything not responding, this being accentuated especially during installations. I decided to format and try anew.
    Now I've formatted the hard drive, installed Snow Leopard and will transfer my files manually onto a clean account. Installations take a long time although SL installation is within 30 minutes, iLife took 1.5 hours to install 5 GB. During the installation Safari stopped responding, as did the entire system, and the spinning beach ball would keep spinning. Watching a 480p trailer in Quicktime made the entire computer freeze up (no video/audio) for 10 seconds halfway. Transferring 136 GB (my Music folder) will take around 15 hours according to the estimate after 10 minutes of transferring.
    I've sold my iMac now and all I have are the files on my external hard drive. I want to get them onto my MBP ASAP but the slowness is preventing me from doing what needs to be done and it's very frustrating. When I try to boot into Hardware Testing by holding D down the computer doesn't do it no matter what (Application DVD in or not, plugged into power or not). I've tried resetting PRAM but I get the same inaction.
    Any ideas?
    Edit: I've done Disk Utility to no avail, it finds nothing wrong.

    Installed, still getting freezes with spinning beach balls. Transfer says it would take 1 hour opposed to that 15 hours, but it stops transferring after X amount of gigabytes (from 0.5 to 5), not do anything for a while and then continue, stretching the estimate to over 2 hours after some time. I don't know if this is just with the hard drive.
    The freeze-ups are frustrating as **** and make for a very poor experience. Any ideas to get to the bottom of this? I still haven't been able to boot into the Hardware Test no matter how much I try.

  • SCCM Distribution Slow? BITS disabled, bandwidth unlimited, regular file transfer is fast

    Hello,
    I have noticed that when I'm distributing large files (Operating System Images) to our on-site distribution points, the file transfers have been taking a substantial amount of time. Using resource monitor and task manager, the transfer is happening at less
    than 100Mb/s on our Gigabit network. However, when I do a normal file transfer between the site server and distribution point using Explorer, the transfer maxes out the connection at 970-987Mb/s.
    I have confirmed that BITS is disabled for all my distribution points, maximum threads per package was increased to 500 with no performance increase, and Client Computer Communication under site properties is set to HTTPS or HTTP (distribution points set
    to HTTP).
    Setup:
    Site Server - Server 2012
    3 Distribution Points (On-site) - Server 2012
    I did a lot of research online the past few days and didn't find anything relating to my issue, nor any solutions resolving this slow transfer. Is there something I'm not understanding correctly or may I have a setting wrong?

    BITS is not used when transferring content to DPs (unless you are using pull DPs).
    Have you alreada checked if the transfer to those DPs is throttled (can be found in the properties of each remote DP)?
    Also monitor distmgr.log and pkgtransfermgr.log.
    The 'Rate Limits' tab on each distribution point's properties page is set to unlimited. The only thing I can think of is the environment was setup in our old building (just built a new headquarters) on a 100Mbit connection, but the new building now has gigabit. 
    distmgr.log and pkgtransfermgr.log doesn't really give me any indicators of what would be causing it to be slow. :\
    Should I open a premiere ticket?

  • Time machine file transfer very slow during OSX 10.7 re-install

    I am using a macbook pro, and was running 10.7. (not sure exact version, and cannot look now, but should have been up to date)  I tried the free upgrade to Mavericks, but it failed and said I had a disk error.  At this point I could not boot back to 10.7 so I booted with apple-R.  I tried to do a repair from disk utility but that failed so I erased my hard drive.  Then I proceeded with an install of 10.7, which proceeded fine.  I got  to a point where it asked about transferring files, (forget the exact wording) and I said to use my time machine backup (from right before I tried the upgrade - backup was 80GB) and I started that.  It has been 16 hours and it still has not finished.  The external hard drive (Lacie)  clicks / whirs, and I see signs of very slow progress... (seems to be at about 80% now judging by the progress bar) but it can go hours without any noticeable change.  The "time remaining" information is variable -- going up and down -- and is clearly not correct-- has said 1.5 to 2.5 hours for the last 12 hours 
    Any ideas?  should I just wait a few more days     should I abort and restart the file transfer (if so, what is the best way to do this?)
    I cannot provide details on the computer since it is still busily restoring (I hope), but it is roughly 3-4 years old, lots of free space on hard drive (>100GB),

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HT2188 I'm presuming my old iPod id dead meat, but after 24 charging a get the Apple Logo followed by an image that looks like a file folder with an exclamation point. Is there anyway we can resurrect all trhe music on it & transfer into a new iPod?

    I'm presuming my old iPod id dead meat, but after 24 charging a get the Apple Logo followed by an image that looks like a file folder with an exclamation point. Is there anyway we can resurrect all trhe music on it & transfer into a new iPod?

    You can try putting it into Disk Mode
    http://support.apple.com/kb/HT1363
    If that works, you can see if the computer will recognize it when connected, either in iTunes or by the system.
    NOTE:  You can also try putting it into Disk Mode WHILE it is already connected to the computer.
    If the iPod is recognized, you may be able to use one of the third-party methods or utilities to transfer song files from iPod to computer.  You can do a Google search on something like "ipod transfer" to get some links (add "mac" to the search if your computer is a Mac).
    Once the song files are on your computer, add them to that computer's iTunes library, then sync it to the new iPod.

  • Local file transfer speed slow on E1200

    On a local file transfer (computer to NAS or NAS to computer) my file transfer speed with the E1200 is way too slow. I would expect the Wireless N speed to be at least 54mbps (megabits per second), which would be equivalent to 9 MegaBytes per second.
    In practice the speed of transfer appears to be at 8mbps (1 MegaByte per second). Here is a screen shot:
    The speed is the same whether I copy from the computer (on a wireless N link) to the NAS, or from the NAS (on a 100Mbit ethernet port on the E1200) to the computer.  The NAS is brand new, auto configured to a RAID-1 setup with two new drives.
    Anyone know why this is?  is the encryption (WPA2-PSK/AES) slowing down the transfer? The same problem occurred with copying a folder of photos as with copying this large file.  I don't think I can upgrade the firmware on my device, as I have the first version of the E1200.
    Solved!
    Go to Solution.

    Sabretooth --
       There is no option to set the Qos to zero.  I can set it to "auto" in which case the number has no effect.
       I could set it to manual but it restricts me to a range as you can see from the graphic.
       In case you are wondering, my internet speed is 10Mbps downstream, 5Mbps upstream.  So I am getting the same speed for the internet that I am getting for a local transfer.
       The next troubleshooting step is to bypass the wireless and hook my PC to the router.  I will let you know if that makes a difference.

  • [Solved]Computer slow down and freeze during data transfer syncing

    Hello,
    Everytime I make a data transfer, my computer slow down, and sometimes freeze during a few seconds, work for a fraction of seconds and freeze again. I don"t understand why.
    As an example, here is a bench of files i transfered during a syncing with Grsync
    It took about 12h to sync 64Gb.
    I've read a lot of topics talking about this problem but nothing works. I tried to switch off the SWAP and setting the vm.dirty_ratio and vm.background_dirty_ratio but nothing works.
    I'm making the trasfer between two Western Digital USB 2.0 external hard drive in NTFS.
    Does anyone know how to fix this?
    Thanks in advance
    Last edited by Neldar (2015-03-04 15:54:29)

    It seems it was beacause one of my external hard drive was about to die. I performed the same operation with 2 Western Digital external hard drive 1To USB3 and it works perfectly.

Maybe you are looking for

  • Microsoft word 2013 function home and end keys not working together on HP Envy X2

    Please help I've tried out Microsoft Office Word 2013 on two HP Envy X2 11.6" laptops/touch screen with keyboard and when I am in a Word document and am at the end or beginning of a document and select the FUNCTION KEY AND THE HOME OR END KEY, it doe

  • Can i stop the columns in a JTable from re-ordering?

    Hi, As we know, JTable by default allows re-ordering of the columns within it. I mean to say that the columns in a JTable can be interchanged, by drag and drop utility. I want to refrain my JTable from doing so. Can someone please suggest me how can

  • Logic Pro X speaker emulation / vintage sound?

    I cannot for the life of me figure out how to use iZotope's "Vinyl" plug-in with the new Logic Pro X.  If this is not able to be used, is there another free plug that does a similar lo-fi/speaker emulation that anyone may know of?  Thank you in advan

  • Multiple IPs OR multiple domains

    Dear Forum Users, I would like to have to know if I could have multiple public IP. I am a home user, BT Infinity, but I want multiple IPs for my domain, so instead, if you can, how I can setup my domain.

  • Database Connection Fury

    Hi, Has anybody managed to connect to a Network solutions Database using Dreamweaver CS3 on a mac G5 running leopard version 10.5.2? If so, could you please share how you did this without getting error messages. Whenever I try I get a convoluted erro